mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 21:42:53 +08:00
Correct programming device info
Related-To: NEO-4368 Change-Id: I7bebb8754d7e653806f682f1931840f9bdb651ee Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
7157b41856
commit
75b2cac097
@@ -246,7 +246,7 @@ void ClDevice::initializeCaps() {
|
||||
deviceInfo.memBaseAddressAlign = 1024;
|
||||
deviceInfo.minDataTypeAlignSize = 128;
|
||||
|
||||
if (isDeviceEnqueueSupported()) {
|
||||
if (isDeviceEnqueueSupported() || (enabledClVersion == 21)) {
|
||||
deviceInfo.maxOnDeviceQueues = 1;
|
||||
deviceInfo.maxOnDeviceEvents = 1024;
|
||||
deviceInfo.queueOnDeviceMaxSize = 64 * MB;
|
||||
|
||||
Reference in New Issue
Block a user