Lines Matching refs:numDevices
2520 ::size_t numDevices = devices.size(); in Context()
2521 cl_device_id* deviceIDs = (cl_device_id*) alloca(numDevices * sizeof(cl_device_id)); in Context()
2522 for( ::size_t deviceIndex = 0; deviceIndex < numDevices; ++deviceIndex ) { in Context()
2527 properties, (cl_uint) numDevices, in Context()
5144 const ::size_t numDevices = devices.size(); in Program() local
5147 if(binaries.size() != numDevices) { in Program()
5156 ::size_t* lengths = (::size_t*) alloca(numDevices * sizeof(::size_t)); in Program()
5157 …const unsigned char** images = (const unsigned char**) alloca(numDevices * sizeof(const unsigned c… in Program()
5159 for (::size_t i = 0; i < numDevices; ++i) { in Program()
5164 cl_device_id* deviceIDs = (cl_device_id*) alloca(numDevices * sizeof(cl_device_id)); in Program()
5165 for( ::size_t deviceIndex = 0; deviceIndex < numDevices; ++deviceIndex ) { in Program()
5170 binaryStatus->resize(numDevices); in Program()
5176 lengths, images, (binaryStatus != NULL && numDevices > 0) in Program()
5201 ::size_t numDevices = devices.size(); in Program()
5202 cl_device_id* deviceIDs = (cl_device_id*) alloca(numDevices * sizeof(cl_device_id)); in Program()
5203 for( ::size_t deviceIndex = 0; deviceIndex < numDevices; ++deviceIndex ) { in Program()
5267 ::size_t numDevices = devices.size(); in build()
5268 cl_device_id* deviceIDs = (cl_device_id*) alloca(numDevices * sizeof(cl_device_id)); in build()
5269 for( ::size_t deviceIndex = 0; deviceIndex < numDevices; ++deviceIndex ) { in build()