From 9d0b0c32a9a4b1680c7fbd113e9ce405d22d145e Mon Sep 17 00:00:00 2001 From: Vlad Sytchenko Date: Thu, 30 Jul 2020 12:09:34 -0400 Subject: [PATCH] Fix typo Change-Id: I8b659508f567afa126aeb7749b536b443935e3df --- rocclr/device/pal/paldevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/device/pal/paldevice.cpp b/rocclr/device/pal/paldevice.cpp index e32767da5e..52d6571c44 100755 --- a/rocclr/device/pal/paldevice.cpp +++ b/rocclr/device/pal/paldevice.cpp @@ -296,7 +296,7 @@ bool NullDevice::init() { bool NullDevice::create(Pal::AsicRevision asicRevision, Pal::GfxIpLevel ipLevel, uint xNACKSupported) { - if (IS_HIP && IS_MAINLINE && + if (amd::IS_HIP && IS_MAINLINE && (asicRevision != Pal::AsicRevision::Vega20)) { return false; }