diff options
| author | Miles Macklin <[email protected]> | 2018-03-19 15:10:24 +1300 |
|---|---|---|
| committer | Miles Macklin <[email protected]> | 2018-03-19 15:10:24 +1300 |
| commit | 8ee05c79ae1748ef132a12e4fb0af284899faec6 (patch) | |
| tree | 82bd5aa1892e28ce7886b6cfeafe66a47ff38e67 /extensions/compiler/xpj/flexExtCUDA.xpj | |
| parent | Flex 1.2 (beta 2) (diff) | |
| download | flex-8ee05c79ae1748ef132a12e4fb0af284899faec6.tar.xz flex-8ee05c79ae1748ef132a12e4fb0af284899faec6.zip | |
Flex 1.2.0 release
Diffstat (limited to 'extensions/compiler/xpj/flexExtCUDA.xpj')
| -rw-r--r-- | extensions/compiler/xpj/flexExtCUDA.xpj | 235 |
1 files changed, 0 insertions, 235 deletions
diff --git a/extensions/compiler/xpj/flexExtCUDA.xpj b/extensions/compiler/xpj/flexExtCUDA.xpj deleted file mode 100644 index 6e80a6f..0000000 --- a/extensions/compiler/xpj/flexExtCUDA.xpj +++ /dev/null @@ -1,235 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> - -<XPJ version="4"> - - <template filename="../../../common.xpjt"/> - - <Project name="flexExtCUDA"> - - <!-- depends on flex solver project --> - <Conditional value="${config}" match="internal"> - <Import file="../../../src/compiler/xpj/flexCUDA.xpj" /> - </Conditional> - - <Export platforms="Win32 Win64">../${xpj:TOOL}${xpj:PLATFORM}</Export> - <Export platform="android_aarch64" tool="make">../makeandroid_aarch64</Export> - <Export platform="Linux64" tool="make">../makelinux64</Export> - - <Target name="flexExtCUDA"> - - <Var name="ProjectRoot" value="../../.." /> - - <!-- Windows --> - - <Config name="default" type="dll" platforms="Win32 Win64"> - - <apply-template name="windows-common"/> - - <OutDir platform="Win32">../../../bin/win32/</OutDir> - <OutDir platform="Win64">../../../bin/win64/</OutDir> - - <Preprocessor type="define"> - _CONSOLE - WIN32 - </Preprocessor> - - <WarningLevel>3</WarningLevel> - <GenerateDebugInformation>true</GenerateDebugInformation> - <CharacterSet>MultiByte</CharacterSet> - - <SearchPaths type="header"> - ..\..\..\..\.. - </SearchPaths> - - <Libraries> - cudart.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib - </Libraries> - - </Config> - - <Config name="debug" type="dll" platforms="Win32 Win64"> - - <apply-template name="windows-common"/> - - <OutFile platform="Win32">NvFlexExtDebugCUDA_x86.dll</OutFile> - <OutFile platform="Win64">NvFlexExtDebugCUDA_x64.dll</OutFile> - - <IntDir>./build/${xpj:PLATFORM}/debug/</IntDir> - - <Preprocessor type="define"> - _DEBUG - </Preprocessor> - <Preprocessor type="define"> - _ITERATOR_DEBUG_LEVEL=0 - </Preprocessor> - <RuntimeLibrary>MTd</RuntimeLibrary> - <GenerateDebugInformation>true</GenerateDebugInformation> - <FloatingPointModel>Precise</FloatingPointModel> - <ExportLibrary platform="Win32">..\..\..\lib\win32\NvFlexExtDebugCUDA_x86.lib</ExportLibrary> - <ExportLibrary platform="Win64">..\..\..\lib\win64\NvFlexExtDebugCUDA_x64.lib</ExportLibrary> - - <FileTemplate platform="Win32" name="cuda" command=""${user:CUDA_PATH}\bin\nvcc.exe" -g -G --compiler-bindir="$(VCInstallDir)bin" --compiler-options=/MTd,/Zi -I"..\..\.." -D_ITERATOR_DEBUG_LEVEL=0 -DCUDA -m32 -arch=sm_30 -prec-div=false -prec-sqrt=false -ftz=true -use_fast_math -c %s -o %o" buildtype="CustomBuild" filetype="cuda" description="Building %(Identity)" /> - <FileTemplate platform="Win64" name="cuda" command=""${user:CUDA_PATH}\bin\nvcc.exe" -g -G --compiler-bindir="$(VCInstallDir)bin" --compiler-options=/MTd,/Zi -I"..\..\.." -D_ITERATOR_DEBUG_LEVEL=0 -DCUDA -arch=sm_30 -prec-div=false -prec-sqrt=false -ftz=true -use_fast_math -c %s -o %o" buildtype="CustomBuild" filetype="cuda" description="Building %(Identity)" /> - - <Libraries platforms="Win32"> - ${user:ProjectRoot}/lib/win32/NvFlexDebugCUDA_x86.lib - </Libraries> - - <Libraries platforms="Win64"> - ${user:ProjectRoot}/lib/win64/NvFlexDebugCUDA_x64.lib - </Libraries> - - </Config> - - <Config name="release" type="dll" platforms="Win32 Win64"> - - <apply-template name="windows-common"/> - - <OutFile platform="Win32">NvFlexExtReleaseCUDA_x86.dll</OutFile> - <OutFile platform="Win64">NvFlexExtReleaseCUDA_x64.dll</OutFile> - - <IntDir>./build/${xpj:PLATFORM}/release/</IntDir> - - <Preprocessor type="define"> - NDEBUG - </Preprocessor> - <RuntimeLibrary>MT</RuntimeLibrary> - <WholeProgramOptimization>1</WholeProgramOptimization> - <Optimization>3</Optimization> - <EnableIntrinsicFunctions>true</EnableIntrinsicFunctions> - <BufferSecurityCheck>false</BufferSecurityCheck> - <EnableFunctionLevelLinking>true</EnableFunctionLevelLinking> - <EnableEnhancedInstructionSet>2</EnableEnhancedInstructionSet> - <FloatingPointModel>Fast</FloatingPointModel> - - <ExportLibrary platform="Win32">..\..\..\lib\win32\NvFlexExtReleaseCUDA_x86.lib</ExportLibrary> - <ExportLibrary platform="Win64">..\..\..\lib\win64\NvFlexExtReleaseCUDA_x64.lib</ExportLibrary> - - <FileTemplate platform="Win32" name="cuda" command=""${user:CUDA_PATH}\bin\nvcc.exe" -O3 --compiler-bindir="$(VCInstallDir)bin" --compiler-options=/MT,/Zi -I"..\..\.." -D_ITERATOR_DEBUG_LEVEL=0 -DNDEBUG -DCUDA -m32 -arch=sm_30 -prec-div=false -prec-sqrt=false -ftz=true -use_fast_math -c %s -o %o" buildtype="CustomBuild" filetype="cuda" description="Building %(Identity)" /> - <FileTemplate platform="Win64" name="cuda" command=""${user:CUDA_PATH}\bin\nvcc.exe" -O3 --compiler-bindir="$(VCInstallDir)bin" --compiler-options=/MT,/Zi -I"..\..\.." -D_ITERATOR_DEBUG_LEVEL=0 -DNDEBUG -DCUDA -arch=sm_30 -prec-div=false -prec-sqrt=false -ftz=true -use_fast_math -c %s -o %o" buildtype="CustomBuild" filetype="cuda" description="Building %(Identity)" /> - - <Libraries platforms="Win32"> - ${user:ProjectRoot}/lib/win32/NvFlexReleaseCUDA_x86.lib - </Libraries> - - <Libraries platforms="Win64"> - ${user:ProjectRoot}/lib/win64/NvFlexReleaseCUDA_x64.lib - </Libraries> - - </Config> - - <!-- Android aarch64--> - - <Config name="default" type="lib" platforms="android_aarch64"> - - <apply-template name="android-aarch64-common"/> - - <FileTemplate name="cuda" command='${user:NVCC} ${user:NVCCInclude} --compile "%s" -o "%o"' buildtype="CustomBuild" /> - - <OutDir platforms="android_aarch64" tool="make">${user:ProjectRoot}/lib/android_aarch64</OutDir> - - <Preprocessor type="define" platform="android_aarch64"> - android - ANDROID=1 - ANDROID_PLAT=1 - DISABLE_IMPORTGL - </Preprocessor> - - <CFlags tool="make">-Wall -std=c++11 -fpermissive -fno-strict-aliasing -fno-rtti -fno-exceptions</CFlags> - - </Config> - - <Config name="release" type="lib" platforms="android_aarch64"> - <cflags> -O3 -ffast-math </cflags> - <OutFile>libNvFlexExtReleaseCUDA_aarch64.a</OutFile> - - <Libraries> - ${user:ProjectRoot}/lib/android_aarch64/libNvFlexRelease_aarch64.a - </Libraries> - </Config> - - <Config name="debug" type="lib" platforms="android_aarch64"> - <cflags> -g -O0 </cflags> - <OutFile>libNvFlexExtDebugCUDA_aarch64.a</OutFile> - - <Libraries> - ${user:ProjectRoot}/lib/android_aarch64/libNvFlexDebug_aarch64.a - </Libraries> - </Config> - - - <!-- Linux --> - - <Config name="default" type="lib" platforms="linux64"> - - <apply-template name="linux-common"/> - - <Var name="Cub" value="${user:External}/cub-1.3.2"/> - <var name="GCC" value="g++"/> - <var name="NVCC" value='${user:CUDA_PATH}/bin/nvcc -O3 -g -arch=sm_30 -m64 -Xcompiler -fPIC -D_FORCE_INLINES'/> - <var name="NVCCInclude" value=' -I${user:ProjectRoot} -I${user:External} -I${user:CUDA_PATH}/include -I${user:Cub} '/> - - <FileTemplate name="cuda" command='${user:NVCC} ${user:NVCCInclude} --compile "%s" -o "%o"' buildtype="CustomBuild"/> - - <OutDir platforms="linux64" tool="make">${user:ProjectRoot}/lib/linux64</OutDir> - - <SearchPaths type="header" tool="make"> - "${user:ProjectRoot}" - "${user:External}/freeglut/include" - </SearchPaths> - - <CFlags tool="make"> - -Wall -std=c++0x -fPIC -fpermissive -fno-strict-aliasing - </CFlags> - </Config> - - <Config name="release" type="lib" platforms="linux64"> - <cflags> -O3 -ffast-math -DNDEBUG</cflags> - <OutFile>NvFlexExtReleaseCUDA_x64.a</OutFile> - - <Libraries> - ${user:ProjectRoot}/lib/linux64/NvFlexReleaseCUDA_x64.a - </Libraries> - - </Config> - - <Config name="debug" type="lib" platforms="linux64"> - <cflags> -g -O0 </cflags> - <OutFile>NvFlexExtDebugCUDA_x64.a</OutFile> - - <Libraries> - ${user:ProjectRoot}/lib/linux64/NvFlexDebugCUDA_x64.a - </Libraries> - </Config> - - <!-- Source --> - - <Files name="src" type="source" root="${user:ProjectRoot}/extensions"> - *.cpp *.h - </Files> - - <Files name="cuda" type="source" root="${user:ProjectRoot}/extensions/cuda" template="cuda"> - *.cu - </Files> - - <Files name="include" type="source" root="${user:ProjectRoot}/include"> - flexExt.h - </Files> - - <Files name="core" type="source" root="${user:ProjectRoot}/core"> - sdf.cpp - voxelize.cpp - maths.cpp - aabbtree.cpp - </Files> - - <Conditional value="${config}" match="internal"> - <Dependencies> - flexCUDA - </Dependencies> - </Conditional> - - </Target> - </Project> - -</XPJ> |