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
This commit is contained in:
foreman
2018-10-26 18:44:00 -04:00
parent a4c1b1b9d3
commit e8ca159b62
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -42,6 +42,7 @@ class NullDevice : public amd::Device {
aclCompiler* amdilCompiler() const { return compiler_; }
aclCompiler* hsaCompiler() const { return hsaCompiler_; }
aclCompiler* compiler() const { return hsaCompiler_; }
Compiler* binCompiler() const { return amdilCompiler(); }
static bool init(void);