cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

ankurdh
Journeyman III

How to invoke ati stream profiler from Runtime.exec() in java?

I have added the address of clprofile.exe in the CLASSPATH.. I want to invoke clprofiler to run opencl programs from a java program. I tried using Runtime.exec() to run the external file. The technique works well for normal .exe files but fails when clprofile.exe is used. Please help ASAP!

0 Likes
3 Replies
ankurdh
Journeyman III

Please help as soon as possible

0 Likes

Originally posted by: ankurdh Please help as soon as possible

 

Are you running with appropriate options?

0 Likes

Just a note that if you're interested in accessing OpenCL from Java, you may want to take a look at the Aparapi tool at

http://developer.amd.com/aparapi

Aparapi allows you to write your parallel kernel code in Java.

 

 

0 Likes