diff --git a/projects/clr/rocclr/device/rocm/rocdevice.cpp b/projects/clr/rocclr/device/rocm/rocdevice.cpp index 5952365f0d2c..b389f8d02d4b 100644 --- a/projects/clr/rocclr/device/rocm/rocdevice.cpp +++ b/projects/clr/rocclr/device/rocm/rocdevice.cpp @@ -125,7 +125,7 @@ bool NullDevice::create(const amd::Isa& isa) { std::stringstream ss; ss << AMD_BUILD_STRING " (HSA,LC) [Offline]"; ::strncpy(info_.driverVersion_, ss.str().c_str(), sizeof(info_.driverVersion_) - 1); - info_.version_ = "OpenCL " OPENCL_VERSION_STR " "; + info_.version_ = "OpenCL " OPENCL_VERSION_STR " " AMD_PLATFORM_INFO; return true; } @@ -1449,12 +1449,12 @@ bool Device::populateOCLDeviceConstants() { info_.version_ = "OpenCL " /*OPENCL_VERSION_STR*/ "2.0" - " "; + " " AMD_PLATFORM_INFO; } else { info_.version_ = "OpenCL " /*OPENCL_VERSION_STR*/ "1.2" - " "; + " " AMD_PLATFORM_INFO; } info_.builtInKernels_ = "";