Tasp

CL_CONTEXT_OFFLINE_DEVICES_AMD and different sources per device

Discussion created by Tasp on Jan 13, 2011
Latest reply on Jan 13, 2011 by Tasp

Hi,

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?

As in http://developer.amd.com/support/KnowledgeBase/Lists/KnowledgeBase/DispForm.aspx?ID=115 :

You compile one source and get multiple binaries.

+ I want to compile kernels only for specific devices, not for every possible device!

 

Outcomes