P4 to Git Change 1624807 by gandryey@gera-w8 on 2018/10/26 18:35:39
SWDEV-167970 - Ethereum mining (EthDcrMiner64.exe) App crashed while running Claymore Mining over VI,AI ,CI ASIC families - Fix a regression after CL#1608975. Use amdil complib instance to query the binary options. The logic in the abstraction layer attempts to validate the binary options and for some reason Ethereum binary isn't compatible with the HSAIL complib instance. It's a workaround for now, since the app doesn't allow debugger and printf debugging is quite time consuming. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#322 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#169 edit ... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#97 edit
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -89,7 +89,7 @@ cl_int Program::addDeviceProgram(Device& device, const void* image, size_t lengt
|
||||
assert(symbol && "symbol not found");
|
||||
std::string symName = std::string(symbol->str[bif::PRE]) + std::string(symbol->str[bif::POST]);
|
||||
size_t symSize = 0;
|
||||
const void* opts = aclExtractSymbol(device.compiler(), binary, &symSize, aclCOMMENT,
|
||||
const void* opts = aclExtractSymbol(device.binCompiler(), binary, &symSize, aclCOMMENT,
|
||||
symName.c_str(), &errorCode);
|
||||
// if we have options from binary and input options was not specified
|
||||
if (opts != NULL && emptyOptions) {
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user