Hi,
I've been having trouble enabling the OpenCL timeline in Streamline. The feature has been publicized on the product pages, guides and docs, but I can't seem to get the menu option in Streamline. I have noticed however that the docs list it as an early access feature (ARM Information Center) - which confuses me since the other product pages imply that it is there for everyone.
I have followed the instructions for configuring the kernel and installing gator and the profiling counters work well - there is output on the GPU Vertex-Tiling-Compute and GPU Fragment activity timelines.
Has anyone had any luck getting this to work? Or do we have to contact ARM in order to have access to this feature?
Thanks,
Alex
Hi Alex,
Can I ask what DDK and DS5 version are you using? For different DDK & DS5 version, we have different schemes to make CL TimeLine work. According to previous comments, seems you don't have the whole DDK source code, thus you'll need to ask the chipset manufacture to help on this.
Please try below steps(if your DDK version >= r5p0 and DS5 version >=5.20), and tell me whether it works for you:
1. Get cl timeline enabled libraries from chipset manufacture
2. Enable profiling in your application: clCreateCommandQueue(context, *device, CL_QUEUE_PROFILING_ENABLE, &errorNumber);
3. Enable timeline at runtime: The Timeline feature is configured through the standard CINSTR configuration files. On Android, the configuration file needs to be in the /data/data/com.mali.testjava directory. The directory needs to be readable by the process being instrumented. Suppose the application name you want to check is test_timeline, then you'll need a configuration file named as test_timeline.instr_config. You can copy default.instr_config as test_timeline.instr_config and enable the timeline as below:
#########################
Timeline
[timeline]
Whether timeline tracing is enabled globally
enabled = 1
BR,
Sheri