cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

merlion
Journeyman III

Looking for some OpenCL examples

Hi,

I have installed the driver and OCL-SDK on windows, but it only has headers and libraries. Is there some OpenCL examples I can use? For example, OpenCL program template, or some hello world examples.

Releases · GPUOpen-LibrariesAndSDKs/OCL-SDK · GitHub

0 Likes
4 Replies
dipak
Big Boss

There are a lot of OpenCL examples or sample codes available on the Internet. Once the OpenCL development setup is ready (i.e. required headers and libraries are available), most of those samples should work without any change (or with very little changes).

For example, as suggested by marty1885 on this thread OpenCL SDK , following examples can be used as starting point:

Introductory Tutorial to OpenCL™ - CodeProject

OpenCL Vector Addition – Oak Ridge Leadership Computing Facility

0 Likes

Thanks, I can run OpenCL programs on my computer now.

Another question, is the current CodeXL suitable for my platform? I want to use tools to do analysis.

My CPU is Ryzen 5 2400G with Radeon Vega Graphics, and OS is Windows 10. I use Visual Studio 2017.

I find the following CodeXL page:

https://gpuopen.com/compute-product/codexl/

Feng

0 Likes

CodeXL is worked fine at the moment.

0 Likes