Sample code for The OpenCL Programming Book 1.2
Please download the file from the following link.
DownloadFile name: samples2.zip, Capacity: 2.16MB
Operating conditions of the entire sample code
Operation confirmed hardware
- NVIDIA CUDA 4.1 + NVIDIA C2050
- AMD APP SDK 2.6 + AMD FirePro v7900
- Intel OpenCL SDK 1.5 + Intel Core i7 2600
OS
- Linux: Ubuntu 11.04 x86_64
- Mac: Mac OS X Lion 10.7
- Windows: Windows 7 Pro 64bit (AMD's OpenCL environment only confirmed)
When using NVIDIA GPUs on Windows, it is necessary to turn off TDR which is a graphics timeout function.
Please see below for this issue.
https://docs.microsoft.com/en-us/windows-hardware/drivers/display/timeout-detection-and-recovery
Sample code 6-2/4 Limitations
Due to hardware resources used within the kernel, the NVIDIA GPU must contain more than 16 CUDA cores.
Sample code for The OpenCL Programming Book (first edition)
Please download the file from the following link.
DownloadFile name: samples.zip, Capacity: 2.216MB
Operating conditions of the entire sample code
The current sample code does not work with OpenCL attached to CUDA SDK 3.0 beta to be distributed by
NVIDIA.
Please use OpenCL downloaded from the following page.
http://developer.nvidia.com/object/get-opencl.html
When using NVIDIA GPUs on Windows, it is necessary to turn off TDR which is a graphics timeout function.
Please see below for this issue.
https://docs.microsoft.com/en-us/windows-hardware/drivers/display/timeout-detection-and-recovery
Sample code 6-2/4 Limitations
Due to hardware resources used within the kernel, the NVIDIA GPU must contain more than 16 CUDA cores.