Lines Matching refs:numDevices
2376 ::size_t numDevices = devices.size(); in Context()
2377 cl_device_id* deviceIDs = (cl_device_id*) alloca(numDevices * sizeof(cl_device_id)); in Context()
2378 for( ::size_t deviceIndex = 0; deviceIndex < numDevices; ++deviceIndex ) { in Context()
2383 properties, (cl_uint) numDevices, in Context()
4731 const ::size_t numDevices = devices.size(); in Program() local
4734 if(binaries.size() != numDevices) { in Program()
4743 ::size_t* lengths = (::size_t*) alloca(numDevices * sizeof(::size_t)); in Program()
4744 …const unsigned char** images = (const unsigned char**) alloca(numDevices * sizeof(const unsigned c… in Program()
4746 for (::size_t i = 0; i < numDevices; ++i) { in Program()
4751 cl_device_id* deviceIDs = (cl_device_id*) alloca(numDevices * sizeof(cl_device_id)); in Program()
4752 for( ::size_t deviceIndex = 0; deviceIndex < numDevices; ++deviceIndex ) { in Program()
4757 binaryStatus->resize(numDevices); in Program()
4788 ::size_t numDevices = devices.size(); in Program()
4789 cl_device_id* deviceIDs = (cl_device_id*) alloca(numDevices * sizeof(cl_device_id)); in Program()
4790 for( ::size_t deviceIndex = 0; deviceIndex < numDevices; ++deviceIndex ) { in Program()
4834 ::size_t numDevices = devices.size(); in build()
4835 cl_device_id* deviceIDs = (cl_device_id*) alloca(numDevices * sizeof(cl_device_id)); in build()
4836 for( ::size_t deviceIndex = 0; deviceIndex < numDevices; ++deviceIndex ) { in build()