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
此提交包含在:
@@ -581,8 +581,7 @@ void HSAILKernel::initArguments(const aclArgData* aclArg) {
|
||||
|
||||
params.push_back(desc);
|
||||
}
|
||||
device::Kernel::parameters_t hiddenParams;
|
||||
createSignature(params, hiddenParams, amd::KernelSignature::ABIVersion_0);
|
||||
createSignature(params, params.size(), amd::KernelSignature::ABIVersion_0);
|
||||
}
|
||||
#endif // defined(WITH_COMPILER_LIB)
|
||||
|
||||
@@ -661,8 +660,7 @@ void LightningKernel::initArguments(const KernelMD& kernelMD) {
|
||||
|
||||
params.push_back(desc);
|
||||
}
|
||||
device::Kernel::parameters_t hiddenParams;
|
||||
createSignature(params, hiddenParams, amd::KernelSignature::ABIVersion_0);
|
||||
createSignature(params, params.size(), amd::KernelSignature::ABIVersion_0);
|
||||
}
|
||||
#endif // defined(WITH_LIGHTNING_COMPILER)
|
||||
|
||||
|
||||
新增問題並參考
封鎖使用者