SWDEV-232807
[ROCm][TCT][HIP] cooperative stream test case is failing. Make sure lockXfer() in the blit manager returns a valid value. Port the latest PAL backend logic into the ROCr backend. This change doesn't fix the issue, reported in the ticket. Change-Id: I54101a824f49a2dcfbbf5414cb5b3af41745306d
This commit is contained in:
@@ -707,7 +707,7 @@ KernelBlitManager::KernelBlitManager(VirtualGPU& gpu, Setup setup)
|
||||
program_(nullptr),
|
||||
constantBuffer_(nullptr),
|
||||
xferBufferSize_(0),
|
||||
lockXferOps_(nullptr) {
|
||||
lockXferOps_("Transfer Ops Lock", true) {
|
||||
for (uint i = 0; i < BlitTotal; ++i) {
|
||||
kernels_[i] = nullptr;
|
||||
}
|
||||
@@ -733,8 +733,6 @@ KernelBlitManager::~KernelBlitManager() {
|
||||
if (nullptr != constantBuffer_) {
|
||||
constantBuffer_->release();
|
||||
}
|
||||
|
||||
delete lockXferOps_;
|
||||
}
|
||||
|
||||
bool KernelBlitManager::create(amd::Device& device) {
|
||||
@@ -797,11 +795,6 @@ bool KernelBlitManager::createProgram(Device& device) {
|
||||
return false;
|
||||
}
|
||||
|
||||
lockXferOps_ = new amd::Monitor("Transfer Ops Lock", true);
|
||||
if (nullptr == lockXferOps_) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user