Lines Matching refs:NumberOfDevices
311 int NumberOfDevices; member in RTLDeviceInfoTy
461 NumberOfDevices = (int)HSAAgents.size(); in RTLDeviceInfoTy()
463 if (NumberOfDevices == 0) { in RTLDeviceInfoTy()
467 DP("There are %d devices supporting HSA.\n", NumberOfDevices); in RTLDeviceInfoTy()
471 HSAQueues.resize(NumberOfDevices); in RTLDeviceInfoTy()
472 FuncGblEntries.resize(NumberOfDevices); in RTLDeviceInfoTy()
473 ThreadsPerGroup.resize(NumberOfDevices); in RTLDeviceInfoTy()
474 ComputeUnits.resize(NumberOfDevices); in RTLDeviceInfoTy()
475 GroupsPerDevice.resize(NumberOfDevices); in RTLDeviceInfoTy()
476 WarpSize.resize(NumberOfDevices); in RTLDeviceInfoTy()
477 NumTeams.resize(NumberOfDevices); in RTLDeviceInfoTy()
478 NumThreads.resize(NumberOfDevices); in RTLDeviceInfoTy()
479 deviceStateStore.resize(NumberOfDevices); in RTLDeviceInfoTy()
481 for (int i = 0; i < NumberOfDevices; i++) { in RTLDeviceInfoTy()
504 for (int i = 0; i < NumberOfDevices; i++) { in RTLDeviceInfoTy()
571 assert(DeviceId < DeviceInfo.NumberOfDevices && "Device ID too large"); in dataRetrieve()
599 assert(DeviceId < DeviceInfo.NumberOfDevices && "Device ID too large"); in dataSubmit()
651 int __tgt_rtl_number_of_devices() { return DeviceInfo.NumberOfDevices; } in __tgt_rtl_number_of_devices()
1011 host_device_env.num_devices = DeviceInfo.NumberOfDevices; in __tgt_rtl_load_binary_locked()
1354 assert(device_id < DeviceInfo.NumberOfDevices && "Device ID too large"); in __tgt_rtl_data_alloc()
1364 assert(device_id < DeviceInfo.NumberOfDevices && "Device ID too large"); in __tgt_rtl_data_submit()
1376 assert(device_id < DeviceInfo.NumberOfDevices && "Device ID too large"); in __tgt_rtl_data_submit_async()
1387 assert(device_id < DeviceInfo.NumberOfDevices && "Device ID too large"); in __tgt_rtl_data_retrieve()
1400 assert(device_id < DeviceInfo.NumberOfDevices && "Device ID too large"); in __tgt_rtl_data_retrieve_async()
1406 assert(device_id < DeviceInfo.NumberOfDevices && "Device ID too large"); in __tgt_rtl_data_delete()