cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

Journeyman III
Journeyman III

How to read and write variable on GPU?

Hello,

I have an OpenCL context below, and I am wondering how to read and write these variables. Please help.

__global int a;

__constant int b;

__local int c;

__private int d;

0 Kudos
Reply
1 Reply
Grandmaster
Grandmaster

Re: How to read and write variable on GPU?

Hi notooth,

Please look at a basic AMD APP SDK sample - You will get an idea of how to write an OpenCL app

0 Kudos
Reply