From 91bb64409b7f7a4c3cafea6667f3d054af144d6e Mon Sep 17 00:00:00 2001 From: Tony Tye Date: Mon, 18 Jan 2021 20:27:21 +0000 Subject: [PATCH] SWDEV-268864 - Use new isa class to access isa related information Change-Id: I866eeef06f86df77c651a25fdf7bceed2c28af52 --- opencl/amdocl/cl_device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opencl/amdocl/cl_device.cpp b/opencl/amdocl/cl_device.cpp index c1b2db0f0a..693b437d42 100644 --- a/opencl/amdocl/cl_device.cpp +++ b/opencl/amdocl/cl_device.cpp @@ -411,11 +411,11 @@ RUNTIME_ENTRY(cl_int, clGetDeviceInfo, CASE(CL_DEVICE_LOCAL_MEM_BANKS_AMD, localMemBanks_); CASE(CL_DEVICE_THREAD_TRACE_SUPPORTED_AMD, threadTraceEnable_); case CL_DEVICE_GFXIP_MAJOR_AMD: { - cl_uint major = as_amd(device)->info().gfxipMajor_; + cl_uint major = as_amd(device)->isa().versionMajor(); return amd::clGetInfo(major, param_value_size, param_value, param_value_size_ret); } case CL_DEVICE_GFXIP_MINOR_AMD: { - cl_uint minor = as_amd(device)->info().gfxipMinor_; + cl_uint minor = as_amd(device)->isa().versionMinor(); return amd::clGetInfo(minor, param_value_size, param_value, param_value_size_ret); } CASE(CL_DEVICE_AVAILABLE_ASYNC_QUEUES_AMD, numAsyncQueues_);