Changes between Version 8 and Version 9 of GPUApp
- Timestamp:
- Jul 2, 2010, 5:15:12 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GPUApp
v8 v9 14 14 cuda_kernel.cu; cuda.cu; cuda_config.h 15 15 }}} 16 The example_app_nvcuda.vcproj can be found at "boin /win_build/". Note that NVIDIA Cuda SDK 3.0 or older supports device emulation mode. If your machine doesn't have a Cuda-enabled GPU, then you should build the sample app in the device emulation mode. Do so by setting "Build -> Configuration Manger -> Configuration" to either Emudebug|Emurelease. It comes to our attention that while compiling the sample app, the linker tries to link both the debug and release libraries, and thus causing the following errors:16 The example_app_nvcuda.vcproj can be found at "boinc/win_build/". Note that NVIDIA Cuda SDK 3.0 or older supports device emulation mode. If your machine doesn't have a Cuda-enabled GPU, then you should build the sample app in the device emulation mode. Do so by setting "Build -> Configuration Manger -> Configuration" to either Emudebug|Emurelease. It comes to our attention that while compiling the sample app, the linker tries to link both the debug and release libraries, and thus causing the following errors: 17 17 {{{ 18 18 LIBCMTD.lib(dbgheap.obj) : error LNK2005: __heap_alloc already defined in LIBCMT.lib(malloc.obj) … … 27 27 === NVIDIA OpenCL === 28 28 29 BOINC-NVOpenCL sample app for Windows can be found at "/boin /samples/nvopencl/".29 BOINC-NVOpenCL sample app for Windows can be found at "/boinc/samples/nvopencl/". 30 30 31 31 {{{ 32 32 nvopencl.hpp; nvopencl.cpp; nvopencl_kernels.cl 33 33 }}} 34 The example_app_nvopencl.vcproj can be found at "boin /win_build/". OpenCL doesn't have emulation mode, but it could run on CPU alone by specifying CL_DEVICE_TYPE_CPU or CL_DEVICE_TYPE_ALL when creating an OpenCL context.34 The example_app_nvopencl.vcproj can be found at "boinc/win_build/". OpenCL doesn't have emulation mode, but it could run on CPU alone by specifying CL_DEVICE_TYPE_CPU or CL_DEVICE_TYPE_ALL when creating an OpenCL context. 35 35 36 36 The Runtime Library needs to be reset to point to "Multi-threaded Debug (/MTd)" to avoid linking issues. Do so by right click on the project. Set "Properties -> Configuration Properties -> C/C++ -> Code Generation -> Runtime Library" to "Multi-threaded Debug (/MTd)". … … 38 38 === ATI Stream OpenCL === 39 39 40 BOINC-ATIOpenCL sample app for Windows can be found at "/boin /samples/atiopencl/".40 BOINC-ATIOpenCL sample app for Windows can be found at "/boinc/samples/atiopencl/". 41 41 42 42 {{{ 43 43 atiopencl.hpp; atiopencl.cpp; atiopencl_kernels.cl 44 44 }}} 45 The example_app_atiopencl.vcproj can be found at "boin /win_build/". It is identical to NVIDIA OpenCL. Prior to build the app, make sure you have already reset the Runtime Library to point to "Multi-threaded Debug (/MTd)".45 The example_app_atiopencl.vcproj can be found at "boinc/win_build/". It is identical to NVIDIA OpenCL. Prior to build the app, make sure you have already reset the Runtime Library to point to "Multi-threaded Debug (/MTd)". 46 46 47 47 == Linux == #linux … … 82 82 === NVIDIA OpenCL === 83 83 84 BOINC-NVOpenCL sample app for Linux can be found at "/boin /samples/nvopencl/".84 BOINC-NVOpenCL sample app for Linux can be found at "/boinc/samples/nvopencl/". 85 85 86 86 {{{ … … 95 95 === ATI Stream OpenCL === 96 96 97 BOINC-ATIOpenCL sample app for Linux can be found at "/boin /samples/atiopencl/".97 BOINC-ATIOpenCL sample app for Linux can be found at "/boinc/samples/atiopencl/". 98 98 99 99 {{{