P4 to Git Change 1339076 by scharupa@scharupa_temp on 2016/11/09 18:21:08
SWDEV-95488 - Replacing gpuDevice_ with roc_device_ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#18 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#5 edit
This commit is contained in:
@@ -451,7 +451,6 @@ VirtualGPU::VirtualGPU(Device &device)
|
||||
: device::VirtualDevice(device)
|
||||
, roc_device_(device)
|
||||
, index_(device.numOfVgpus_++) // Virtual gpu unique index incrementing
|
||||
, gpuDevice_(device)
|
||||
{
|
||||
gpu_device_ = device.getBackendDevice();
|
||||
// Initialize the last signal and dispatch flags
|
||||
@@ -479,7 +478,7 @@ VirtualGPU::~VirtualGPU()
|
||||
}
|
||||
|
||||
tools_lib_ = NULL;
|
||||
--gpuDevice_.numOfVgpus_; // Virtual gpu unique index decrementing
|
||||
--roc_device_.numOfVgpus_; // Virtual gpu unique index decrementing
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
@@ -247,7 +247,6 @@ private:
|
||||
uint kernarg_pool_cur_offset_;
|
||||
|
||||
std::vector<ProfilingSignal> signal_pool_; //!< Pool of signals for profiling
|
||||
Device& gpuDevice_; //!< Roc device obj
|
||||
const uint index_; //!< Virtual gpu unique index
|
||||
friend class Timestamp;
|
||||
};
|
||||
|
||||
مرجع در شماره جدید
Block a user