Changes between Version 15 and Version 16 of GPUApp
- Timestamp:
- Jul 15, 2010, 3:53:56 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GPUApp
v15 v16 26 26 27 27 The project file, example_app_nvopencl.vcproj, is in "boinc/win_build/". 28 OpenCL doesn't have emulation mode, 28 OpenCL doesn't have emulation mode, 29 29 but it could run on CPU alone by specifying CL_DEVICE_TYPE_CPU or CL_DEVICE_TYPE_ALL when creating an OpenCL context. 30 31 The executable file can be found at "boinc/win_build/Build/Win32/build_mode/" 32 (build_mode could be release or debug). 30 33 31 34 === ATI Stream OpenCL === … … 76 79 /usr/bin/ld: cannot find -lcutil_i386 77 80 }}} 78 79 81 If your machine doesn't have an NVIDIA Cuda-enabled GPU, 80 82 you can compile and run your app in emulation mode. … … 92 94 ./example_app_nvcuda: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory 93 95 }}} 96 The executable file is created in "/boinc/samples/nvcuda/linux/build_mode/" (build_mode could be release or emurelease). 94 97 95 98 === NVIDIA OpenCL === … … 105 108 is installed at the default location "$(ROOT)/home/USER_NAME/NVIDIA_GPU_Computing_SDK/". 106 109 On my Linux machine, for example, it would be "$(ROOT)/home/tuanle/NVIDIA_GPU_Computing_SDK/". 107 Since the absolute path is used in Makefile, you will probably need to edit file "common.mk" before compiling the sample app. 108 Do so by looking for "/home/tuanle/NVIDIA_GPU_Computing_SDK" in file "common.mk" 109 and replace this path with an appropriate path on your machine. 110 Since the absolute path is used in Makefile, you will probably need to edit file "common_opencl.mk" before 111 compiling the sample app. Do so by looking for "/home/tuanle/NVIDIA_GPU_Computing_SDK" in file 112 "common_opencl.mk" and replace this path with an appropriate path on your machine. 113 114 You will also need to build the necessary Cuda SDK libraries by running makefile in 115 "~/NVIDIA_GPU_Computing_SDK/OpenCL/". The resulting libraries such as "liboclUtil_i386" are 116 created in "~/NVIDIA_GPU_Computing_SDK/OpenCL/common/lib/". Notice that if these libraries are not built, 117 running nvopencl-sample-app makefile could result in the following error: 118 {{{ 119 /usr/bin/ld: cannot find -loclUtil_i386 120 }}} 121 122 The executable file is created in "/boinc/samples/nvopencl/linux/release/". 110 123 111 124 === ATI Stream OpenCL ===