P4 to Git Change 1339014 by scharupa@scharupa_temp on 2016/11/09 17:18:01
SWDEV-95488 - Fixing build issues Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#8 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#17 edit
This commit is contained in:
@@ -52,7 +52,7 @@ Settings::Settings()
|
||||
partialDispatch = getenv("OPENCL_DISABLE_PARTIAL_DISPATCH");
|
||||
enablePartialDispatch_ = (partialDispatch) ? false : true;
|
||||
partialDispatch_ = (partialDispatch) ? false : true;
|
||||
commandQueues_ = 100 //!< Field value set to maximum number
|
||||
commandQueues_ = 100; //!< Field value set to maximum number
|
||||
//!< concurrent Virtual GPUs for ROCm backend
|
||||
}
|
||||
|
||||
|
||||
@@ -450,7 +450,7 @@ bool VirtualGPU::releaseGpuMemoryFence() {
|
||||
VirtualGPU::VirtualGPU(Device &device)
|
||||
: device::VirtualDevice(device)
|
||||
, roc_device_(device)
|
||||
, index_(device_.numOfVgpus_++) // Virtual gpu unique index incrementing
|
||||
, index_(device.numOfVgpus_++) // Virtual gpu unique index incrementing
|
||||
, gpuDevice_(device)
|
||||
{
|
||||
gpu_device_ = device.getBackendDevice();
|
||||
|
||||
Reference in New Issue
Block a user