mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Pass device bitfield to allocation properties when creating mem obj
Related-To: NEO-4484 Change-Id: I961e9122591dc7293e37d5c1ca58cbcd649ee653 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
8f0380a00b
commit
0c404bc880
@@ -175,5 +175,8 @@ void ClDeviceVector::toDeviceIDs(std::vector<cl_device_id> &devIDs) {
|
||||
const std::string &ClDevice::peekCompilerExtensions() const {
|
||||
return compilerExtensions;
|
||||
}
|
||||
DeviceBitfield ClDevice::getDeviceBitfield() const {
|
||||
return device.getDeviceBitfield();
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
#include "shared/source/command_stream/preemption_mode.h"
|
||||
#include "shared/source/helpers/common_types.h"
|
||||
#include "shared/source/utilities/reference_tracked_object.h"
|
||||
|
||||
#include "opencl/source/api/cl_types.h"
|
||||
@@ -116,6 +117,7 @@ class ClDevice : public BaseObject<_cl_device_id> {
|
||||
ClDevice *getDeviceById(uint32_t deviceId);
|
||||
const std::string &peekCompilerExtensions() const;
|
||||
std::unique_ptr<SyncBufferHandler> syncBufferHandler;
|
||||
DeviceBitfield getDeviceBitfield() const;
|
||||
|
||||
protected:
|
||||
void initializeCaps();
|
||||
|
||||
Reference in New Issue
Block a user