From 6fb4972c65f83f624834aa39efccc50bb7b2cc00 Mon Sep 17 00:00:00 2001 From: Jason Tang Date: Sat, 23 Jan 2021 11:20:15 -0500 Subject: [PATCH] SWDEV-269147 - Disable ROC offline devices for now Change-Id: I520f3c8e56db91cbc384d08beba4e0bd4626941d [ROCm/clr commit: 1e08a3e0cde9a6077e2cbd15ca17199bf9b0d590] --- projects/clr/rocclr/device/rocm/rocdevice.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/clr/rocclr/device/rocm/rocdevice.cpp b/projects/clr/rocclr/device/rocm/rocdevice.cpp index d323a129ce..ebea5ca4c1 100644 --- a/projects/clr/rocclr/device/rocm/rocdevice.cpp +++ b/projects/clr/rocclr/device/rocm/rocdevice.cpp @@ -302,6 +302,10 @@ bool NullDevice::init() { return false; } + // FIXME: ROC offline device support needs to be corrected. + // For now return without initializing offline device list. + return true; + // Create offline devices for all ISAs not already associated with an online // device. This allows code objects to be compiled for all supported ISAs. std::vector devices = getDevices(CL_DEVICE_TYPE_GPU, false);