cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

notooth
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 Likes
1 Reply
himanshu_gautam
Grandmaster

Hi notooth,

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

0 Likes