in my sources I change:
__kernel __attribute__((reqd_work_group_size(x, y, 1)))
accodring to device capabilities.
How can I do that with CL_CONTEXT_OFFLINE_DEVICES_AMD enabled?
You compile one source and get multiple binaries.
+ I want to compile kernels only for specific devices, not for every possible device!
Ok I think I got it.
The solution is to pick out the device you want and create a new context with it. Then do all steps with this context.