I'm trying to profile a Java program using the JOCL OpenCL wrapper using CodeXL or the sprofile command line tool to get GPU performance counters.
OS: Mint 16 / Linux 3.11.0-12-generic
CodeXL: have tried both 1.5.5364 and 1.2.2484
Whatever I try to do, I'm getting "[application_name] is not a valid application". I've tried giving the executable as /usr/bin/java and supplying a runnable JAR through the command line arguments, and have tried giving the executable as a shell script. I can profile using CPU: time-based sampling, but no luck using any GPU profiling.
Any ideas? Cheers