I was wondering what is the best way to get started to code a middleware that will capture all OpenCL apicalls. I could then write a program to replay the trace on a different system.
I'm assuming this will not need any special hooks in the driver. If this is the case, then I suppose we will not be able to do it.
I could not find examples on the internet. If you are aware of any resources- website or books, can you please let me know?