|
|
|||
|
|
|
NVCCCompiler | ![]() |
| CreateLibrary compiles a string of CUDA code in src into a library and returns the full path to the library. |
| CreateLibrary compiles a number of CUDA and C source files into a library and returns the full path to the library. |
| CreateExecutable[src, name, "Compiler"->NVCCCompiler] compiles a string of CUDA code in src into an executable and returns the full path to the executable. |
| CreateExecutable compiles a number of CUDA, mprep, and C source files into an executable and returns the full path to the executable. |
| CreateObjectFile compiles a string of CUDA code in src into an object file and returns the full path to the object file. |
| CreateObjectFile compiles a number of CUDA and C source files into object files and returns the full path to the object files. |
| "CleanIntermediate" | True | whether temporary files should be deleted | |
| "CompileOptions" | {} | compile options passed directly to the NVCC compiler | |
| "CompilerInstallation" | Automatic | location of the CUDA Toolkit installation | |
| "CreateBinary" | True | whether the binary should be created | |
| "CreateCUBIN" | False | whether to create a .cubin file (a GPU binary) rather than a library | |
| "CreatePTX" | False | whether to create a .ptx file (a GPU bytecode) rather than a library | |
| "CUDAArchitecture" | Automatic | CUDA architecture to target | |
| "Defines" | {} | defines passed to the NVCC preprocessor | |
| "ExtraObjectFiles" | {} | extra object files to compile with | |
| "IncludeDirectories" | {} | directories to include in the compilation | |
| "Libraries" | {} | libraries to link against | |
| "LibraryDirectories" | {} | library directories to include in the compilation | |
| "LinkerOptions" | {} | linker options passed from NVCC to the C linker | |
| "MprepOptions" | "" | options passed to mprep | |
| "ShellCommandFunction" | None | function to call with the shell commands used for the compilation | |
| "ShellOutputFunction" | None | function to call with the shell output of running the compilation commands | |
| "SystemCompileOptions" | {} | base compile options | |
| "SystemIncludeDirectories" | Automatic | CUDALink and Mathematica include directories to include | |
| "SystemLibraries" | Automatic | CUDALink and Mathematica libraries to link against | |
| "SystemLibraryDirectories" | Automatic | CUDALink and Mathematica library directories to include | |
| "SystemLinkerOptions" | Automatic | system linker options passed from NVCC to the C linker | |
| "TargetDirectory" | $CCompilerDefaultDirectory | the directory in which the library file should be generated | |
| "TargetSystemID" | $SystemID | system to compile the library for | |
| "UnmangleCode" | False | whether to surround code with external "C" to avoid C++ name mangling | |
| "WorkingDirectory" | Automatic | the directory in which temporary files will be generated | |
| "XCompileOptions" | Automatic | compile options passed from NVCC to the C compiler | |
| "XCompilerInstallation" | Automatic | directory where NVCC will find the C compiler is installed |