From 5859df8ba136af45579fc145d8a676ea8fdc57c4 Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 7 Mar 2019 17:29:21 -0500
Subject: [PATCH] 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
---
rocclr/runtime/device/rocm/rocdevice.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rocclr/runtime/device/rocm/rocdevice.cpp b/rocclr/runtime/device/rocm/rocdevice.cpp
index f2fd3ffc21..f1f65e1599 100644
--- a/rocclr/runtime/device/rocm/rocdevice.cpp
+++ b/rocclr/runtime/device/rocm/rocdevice.cpp
@@ -414,7 +414,7 @@ bool Device::init() {
std::unordered_map 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') {