mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Allow Device creating multiple CSRs [1/n]
Change-Id: Ie5d8d89aa388c608d5464919059c28a054ac9b1e Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
c4239dcd3d
commit
af46d88fc1
@@ -165,7 +165,7 @@ class Device : public BaseObject<_cl_device_id> {
|
||||
EngineType engineType;
|
||||
ExecutionEnvironment *executionEnvironment = nullptr;
|
||||
uint32_t deviceIndex = 0u;
|
||||
CommandStreamReceiver *commandStreamReceiver = nullptr;
|
||||
std::vector<CommandStreamReceiver *> commandStreamReceiver;
|
||||
};
|
||||
|
||||
template <cl_device_info Param>
|
||||
@@ -177,7 +177,7 @@ inline void Device::getCap(const void *&src,
|
||||
}
|
||||
|
||||
inline CommandStreamReceiver &Device::getCommandStreamReceiver() {
|
||||
return *this->commandStreamReceiver;
|
||||
return *this->commandStreamReceiver[0];
|
||||
}
|
||||
|
||||
inline volatile uint32_t *Device::getTagAddress() const {
|
||||
|
||||
Reference in New Issue
Block a user