cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

Journeyman III
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

Tags (1)
0 Kudos
Reply
4 Replies
Staff
Staff

Re: Looking for some OpenCL examples

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 Kudos
Reply
Journeyman III
Journeyman III

Re: Looking for some OpenCL examples

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 Kudos
Reply
Adept III
Adept III

Re: Looking for some OpenCL examples

CodeXL is worked fine at the moment.

0 Kudos
Reply