mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Add missing device caps.
Change-Id: I53958f185e7365872d6161b29cc5b62a0f8d8398
This commit is contained in:
committed by
sys_ocldev
parent
8d8f8d33e1
commit
60a8aa1b17
@@ -341,5 +341,9 @@ void Device::initializeCaps() {
|
||||
|
||||
deviceInfo.internalDriverVersion = CL_DEVICE_DRIVER_VERSION_INTEL_NEO1;
|
||||
deviceInfo.enabled64kbPages = getEnabled64kbPages();
|
||||
|
||||
deviceInfo.preferredGlobalAtomicAlignment = MemoryConstants::cacheLineSize;
|
||||
deviceInfo.preferredLocalAtomicAlignment = MemoryConstants::cacheLineSize;
|
||||
deviceInfo.preferredPlatformAtomicAlignment = MemoryConstants::cacheLineSize;
|
||||
}
|
||||
} // namespace OCLRT
|
||||
|
||||
Reference in New Issue
Block a user