P4 to Git Change 1567935 by gandryey@gera-w8 on 2018/06/13 16:49:10
SWDEV-79445 - OCL generic changes and code clean-up - Remove array of hidden parameters. Hidden parameters will be placed together with OCL kernel arguments. http://ocltc.amd.com/reviews/r/15178/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#222 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#308 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#326 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#55 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#37 edit ... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.cpp#33 edit
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -601,7 +601,7 @@ Settings::Settings() {
|
||||
}
|
||||
|
||||
bool Kernel::createSignature(
|
||||
const parameters_t& params, const parameters_t& hiddenParams,
|
||||
const parameters_t& params, uint32_t numParameters,
|
||||
uint32_t version) {
|
||||
std::stringstream attribs;
|
||||
if (workGroupInfo_.compileSize_[0] != 0) {
|
||||
@@ -634,7 +634,7 @@ bool Kernel::createSignature(
|
||||
// Destroy old signature if it was allocated before
|
||||
// (offline devices path)
|
||||
delete signature_;
|
||||
signature_ = new amd::KernelSignature(params, attribs.str(), hiddenParams, version);
|
||||
signature_ = new amd::KernelSignature(params, attribs.str(), numParameters, version);
|
||||
if (NULL != signature_) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user