I want to inject a inline assembly (or AMD IL?) to access hardware register values such as HW_ID.
I know it is possible with PTX in NVIDIA CUDA but I am not sure OpenCL with AMD GPU also supports this..
When I try to build a OpenCL kernel including the inline assembly in the CodeXL, it generates the error below:
error: an "asm" declaration is not allowed here
If someone knows how to inject the inline assembly in the OpenCL kernel, please let me know...