P4 to Git Change 1753100 by cpaquot@cpaquot-ocl-lc-lnx on 2019/03/07 16:44:30

SWDEV-145570 - [HIP] Forgot this file.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#121 edit


[ROCm/clr commit: 5859df8ba1]
이 커밋은 다음에 포함됨:
foreman
2019-03-07 17:29:21 -05:00
부모 9eb24e7767
커밋 1f7057046f
+1 -1
파일 보기
@@ -414,7 +414,7 @@ bool Device::init() {
std::unordered_map<int, bool> selectedDevices;
bool useDeviceList = false;
std::string ordinals = IS_HIP ? ((HIP_VISIBLE_DEVICES[0] != '\0') ?
std::string ordinals = amd::IS_HIP ? ((HIP_VISIBLE_DEVICES[0] != '\0') ?
HIP_VISIBLE_DEVICES : CUDA_VISIBLE_DEVICES)
: GPU_DEVICE_ORDINAL;
if (ordinals[0] != '\0') {