P4 to Git Change 1771136 by wchau@wchau_OCL_Linux on 2019/04/17 12:00:38
SWDEV-165259 - Update OpenCL runtime to support MsgPack metadata - Fixed argument type qualifier bug. Data are represented as "0"/"1" in V3, not "false"/"true" as in V2 Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#21 edit
Este cometimento está contido em:
@@ -378,16 +378,16 @@ static amd_comgr_status_t populateArgsV3(const amd_comgr_metadata_node_t key,
|
||||
}
|
||||
break;
|
||||
case ArgField::IsConst:
|
||||
lcArg->mIsConst = (buf.compare("true") == 0);
|
||||
lcArg->mIsConst = (buf.compare("1") == 0);
|
||||
break;
|
||||
case ArgField::IsRestrict:
|
||||
lcArg->mIsRestrict = (buf.compare("true") == 0);
|
||||
lcArg->mIsRestrict = (buf.compare("1") == 0);
|
||||
break;
|
||||
case ArgField::IsVolatile:
|
||||
lcArg->mIsVolatile = (buf.compare("true") == 0);
|
||||
lcArg->mIsVolatile = (buf.compare("1") == 0);
|
||||
break;
|
||||
case ArgField::IsPipe:
|
||||
lcArg->mIsPipe = (buf.compare("true") == 0);
|
||||
lcArg->mIsPipe = (buf.compare("1") == 0);
|
||||
break;
|
||||
default:
|
||||
return AMD_COMGR_STATUS_ERROR;
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador