cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

denat
Journeyman III

GPU App Init

Hey, just wondering procedure for initiating a GPU application, to separate it from general application. Is there an instruction, or must some values be written OUT, then texture/vertex fetching can proceed? Asked this on Stream forum, but havent received response yet.

 

Any response helps,

Denat

0 Likes
3 Replies
plohrmann
Staff

Take a look at the AMD Stream SDK: http://developer.amd.com/gpu/ATIStreamSDKBetaProgram/Pages/default.aspx

All programs start up as CPU-based applications, then you call OpenCL functions to pass a "kernel" program to the GPU and to supply data for it to run. There are a lot of documents online about OpenCL, and tutorials are starting to appear also. I recommend looking at those to start.

0 Likes

Started reading the OpenCL specification. Seems like the topics make sense, like how to execute a kernel, etc, just dont get yet how an asm app runs the OpenCL app, if OpenCL was in asm, some of it could probably be written into the general app. And that clarification helped me, 

 

Denat

0 Likes

Hi

i am quite new here.

but its auseful post for us.

0 Likes