mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Add unspecifiedDeviceIndex constant
Change-Id: I146e9c80ce0d18aae5e56fadf83f5e1603173fd7 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
214585eb1b
commit
a7e4ad4eba
@@ -744,7 +744,7 @@ uint32_t DrmMemoryManager::getRootDeviceIndex(const Drm *drm) {
|
||||
return rootDeviceIndex;
|
||||
}
|
||||
}
|
||||
return std::numeric_limits<uint32_t>::max();
|
||||
return CommonConstants::unspecifiedDeviceIndex;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
namespace NEO {
|
||||
class BufferObject;
|
||||
class Drm;
|
||||
constexpr uint32_t invalidRootDeviceIndex = std::numeric_limits<uint32_t>::max();
|
||||
|
||||
class DrmMemoryManager : public MemoryManager {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user