P4 to Git Change 1613081 by gandryey@gera-w8 on 2018/10/01 12:28:29

SWDEV-79445 - OCL generic changes and code clean-up
	- Fix ROCr LC compilation. Remove the binary look-up from the cl object, since it's passed in the method arguments.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#92 edit


[ROCm/clr commit: bc6be55a52]
Tá an tiomantas seo le fáil i:
foreman tiomanta 2018-10-01 12:53:06 -04:00
1 tuismitheoir 15b91585bf
tiomantas 7b1df3bf4d
1 comhad athraithe
-5
@@ -400,11 +400,6 @@ bool LightningProgram::setKernels(amd::option::Options* options, void* binary, s
return false;
}
//Load the stored copy of the ELF binary.
binary_t stored_binary = this->binary();
binary = const_cast<void*>(stored_binary.first);
binSize = stored_binary.second;
hsa_agent_t agent = dev().getBackendDevice();
hsa_status_t status;