P4 to Git Change 1379762 by rili@rili-opencl-pal-stg on 2017/03/01 14:16:43
SWDEV-95925 - Implement SVM fine grain system. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#34 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#25 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#19 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#44 edit
Esse commit está contido em:
@@ -49,7 +49,7 @@ Segment::alloc(
|
||||
{
|
||||
align = amd::alignUp(align, sizeof(uint32_t));
|
||||
gpuAccess_ = new pal::Memory(prog.dev(), amd::alignUp(size, align));
|
||||
if ((gpuAccess_ == nullptr) || !gpuAccess_->create(pal::Resource::Local)) {
|
||||
if ((gpuAccess_ == nullptr) || !gpuAccess_->create(pal::Resource::Shader)) {
|
||||
delete gpuAccess_;
|
||||
gpuAccess_ = nullptr;
|
||||
return false;
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário