I am currently making a program using mmd library user API since the program will use custom platform of mine. Problem is this. I still use aoc compiled .cl kernels for device execution and if i make kernels more than two, it seems address are not aligned in order i wrote the code so i have to manually find out their order. OpenCL uses kernel name to set arguments and enqueue so I thought there must be some space storing that information on device and I could query. Anybody got a clue?
I am reviewing all the open questions on the forums and found this thread of yours. I apologize that no one seems to answer this question that you posted. Since it has been a few days since you posted this question, I am wondering if you have found the answer? If not, I can assign someone to assist you. Let me know. Thanks.
Actually I am wondering, what are the hardware changes that is causing the use of ordinary OpenCL host API's ?
I am afraid what you are asking isn't supported. Kernel address mappings are software defined and vary for different kernels, with different pragmas/attributes, and different neighboring kernels. Hence there’s no formula for this.