P4 to Git Change 1991129 by gandryey@gera-win10 on 2019/08/29 14:43:47
SWDEV-79445 - OCL generic changes and code clean-up
- Remove the atomic flag from the pool of kernel arguments
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#85 edit
[ROCm/clr commit: dbcb93693f]
This commit is contained in:
@@ -727,7 +727,7 @@ bool VirtualGPU::create(bool profilingEna) {
|
|||||||
|
|
||||||
bool VirtualGPU::initPool(size_t kernarg_pool_size, uint signal_pool_count) {
|
bool VirtualGPU::initPool(size_t kernarg_pool_size, uint signal_pool_count) {
|
||||||
kernarg_pool_size_ = kernarg_pool_size;
|
kernarg_pool_size_ = kernarg_pool_size;
|
||||||
kernarg_pool_base_ = reinterpret_cast<char*>(roc_device_.hostAlloc(kernarg_pool_size_, 1, true));
|
kernarg_pool_base_ = reinterpret_cast<char*>(roc_device_.hostAlloc(kernarg_pool_size_, 1));
|
||||||
if (kernarg_pool_base_ == nullptr) {
|
if (kernarg_pool_base_ == nullptr) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user