P4 to Git Change 1559253 by gandryey@gera-w8 on 2018/05/24 15:44:23
SWDEV-79445 - OCL generic changes and code clean-up
- Following CL#1558704. Fix a regression with AMDIL path. Allocate default device sampler
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#588 edit
[ROCm/clr commit: f095889106]
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -1623,6 +1623,12 @@ bool Device::createSampler(const amd::Sampler& owner, device::Sampler** sampler)
|
||||
return false;
|
||||
}
|
||||
*sampler = gpuSampler;
|
||||
} else {
|
||||
//! Currently allocate the base device class for AMDIL path
|
||||
*sampler = new device::Sampler();
|
||||
if (*sampler == nullptr) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user