P4 to Git Change 1321838 by smekhano@stas-mwamba-rocm-hsa on 2016/10/03 14:09:41
SWDEV-104316 - set correct target for ROCm/HSA Reviewed by Laurent Morichetti Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#21 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#7 edit
This commit is contained in:
@@ -252,11 +252,8 @@ HSAILProgram::compileImpl(
|
||||
acl_error errorCode;
|
||||
aclTargetInfo target;
|
||||
|
||||
//Defaulting to bonaire
|
||||
//Todo (sramalin) : Query the device for asic type-
|
||||
//Defaulting to Bonair for now.
|
||||
target = g_complibApi._aclGetTargetInfo(LP64_SWITCH("hsail","hsail64"), "Bonaire",
|
||||
&errorCode);
|
||||
target = g_complibApi._aclGetTargetInfo(LP64_SWITCH("hsail","hsail64"),
|
||||
dev().deviceInfo().complibTarget_, &errorCode);
|
||||
|
||||
//end if asic info is ready
|
||||
// We dump the source code for each program (param: headers)
|
||||
|
||||
Reference in New Issue
Block a user