Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Permutations with CUDA and OpenCL

, 14 May 2012 Ms-PL
Finding lexicographical permutations on GPU
PermArticle.zip
PermGPU2src.zip
PermCuda2
PermCuda2
kernel.cu
PermCuda2.vcxproj.user
PermCuda3
PermCuda3
kernel.cu
PermCuda3.vcxproj.user
PermCudaBenchmark
PermCudaBenchmark
kernel.cu
PermCudaBenchmark.vcxproj.user
PermCuda
PermCuda
kernel.cu
PermCuda.vcxproj.user
PermOpenCL2
PermOpenCL2
PermOpenCL2.cl
PermOpenCL2.vcxproj.filters
PermOpenCL2.vcxproj.user
PermOpenCL3
PermOpenCL3
PermOpenCL3.cl
PermOpenCL3.vcxproj.filters
PermOpenCL3.vcxproj.user
PermOpenCLBenchmark
PermOpenCLBenchmark
PermOpenCLBenchmark.cl
PermOpenCLBenchmark.vcxproj.filters
PermOpenCLBenchmark.vcxproj.user
PermOpenCL
PermOpenCL
PermOpenCL.cl
PermOpenCL.vcxproj.filters
PermOpenCL.vcxproj.user
PermGPUsrc.zip
PermGPUsrc
PermCuda
PermCuda
kernel.cu
PermCuda.vcxproj.user
PermCuda2
PermCuda2
kernel.cu
PermCuda2.vcxproj.user
PermCuda3
PermCuda3
kernel.cu
PermCuda3.vcxproj.user
PermOpenCL
PermOpenCL
PermOpenCL.cl
PermOpenCL.vcxproj.filters
PermOpenCL.vcxproj.user
PermOpenCL2
PermOpenCL2
PermOpenCL2.cl
PermOpenCL2.vcxproj.filters
PermOpenCL2.vcxproj.user
PermOpenCL3
PermOpenCL3
PermOpenCL3.cl
PermOpenCL3.vcxproj.filters
PermOpenCL3.vcxproj.user
PermOpenCLSrcVer100.zip
PermOpenCLSrcVer100
PermOpenCL
PermOpenCL.cl
PermOpenCL.vcxproj.filters
PermOpenCL.vcxproj.user
PermOpenCLSrcVer101.zip
PermOpenCLSrcVer101
PermOpenCL
PermOpenCL.cl
PermOpenCL.vcxproj.filters
PermOpenCL.vcxproj.user
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{CCF9D293-26B4-4A69-9D1A-FC33DC594F09}</ProjectGuid>
    <Keyword>Win32Proj</Keyword>
    <RootNamespace>PermOpenCL</RootNamespace>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>true</UseDebugLibraries>
    <CharacterSet>Unicode</CharacterSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <CharacterSet>Unicode</CharacterSet>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <LinkIncremental>true</LinkIncremental>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <LinkIncremental>false</LinkIncremental>
  </PropertyGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <ClCompile>
      <PrecompiledHeader>Use</PrecompiledHeader>
      <WarningLevel>Level3</WarningLevel>
      <Optimization>Disabled</Optimization>
      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>$(CUDA_INC_PATH)</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <SubSystem>Console</SubSystem>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <AdditionalLibraryDirectories>$(CUDA_LIB_PATH)</AdditionalLibraryDirectories>
      <AdditionalDependencies>opencl.lib;%(AdditionalDependencies)</AdditionalDependencies>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <ClCompile>
      <WarningLevel>Level3</WarningLevel>
      <PrecompiledHeader>Use</PrecompiledHeader>
      <Optimization>MaxSpeed</Optimization>
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <IntrinsicFunctions>true</IntrinsicFunctions>
      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>$(CUDA_INC_PATH)</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <SubSystem>Console</SubSystem>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
      <AdditionalLibraryDirectories>$(CUDA_LIB_PATH)</AdditionalLibraryDirectories>
      <AdditionalDependencies>opencl.lib;%(AdditionalDependencies)</AdditionalDependencies>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <None Include="ReadMe.txt" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="stdafx.h" />
    <ClInclude Include="targetver.h" />
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="PermOpenCL.cpp" />
    <ClCompile Include="stdafx.cpp">
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
    </ClCompile>
  </ItemGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
</Project>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

Shao Voon Wong
Software Developer
Singapore Singapore
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141223.1 | Last Updated 15 May 2012
Article Copyright 2012 by Shao Voon Wong
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid