diff --git a/sycl/plugins/hip/pi_hip.cpp b/sycl/plugins/hip/pi_hip.cpp index 86601f8b9c676..e30d770d95baa 100644 --- a/sycl/plugins/hip/pi_hip.cpp +++ b/sycl/plugins/hip/pi_hip.cpp @@ -1980,6 +1980,7 @@ pi_result hip_piDeviceGetInfo(pi_device device, pi_device_info param_name, case PI_DEVICE_INFO_GPU_HW_THREADS_PER_EU: case PI_DEVICE_INFO_MAX_MEM_BANDWIDTH: case PI_EXT_ONEAPI_DEVICE_INFO_BFLOAT16_MATH_FUNCTIONS: + case PI_EXT_ONEAPI_DEVICE_INFO_CUDA_ASYNC_BARRIER: setErrorMessage("HIP backend does not support this query", PI_ERROR_INVALID_ARG_VALUE); return PI_ERROR_PLUGIN_SPECIFIC_ERROR; diff --git a/sycl/tools/sycl-ls/sycl-ls.cpp b/sycl/tools/sycl-ls/sycl-ls.cpp index 577c21504d7c8..e909997c81589 100644 --- a/sycl/tools/sycl-ls/sycl-ls.cpp +++ b/sycl/tools/sycl-ls/sycl-ls.cpp @@ -69,6 +69,13 @@ static void printDeviceInfo(const device &Device, bool Verbose, std::cout << Prepend << "Name : " << DeviceName << std::endl; std::cout << Prepend << "Vendor : " << DeviceVendor << std::endl; std::cout << Prepend << "Driver : " << DeviceDriverVersion << std::endl; + + std::cout << Prepend << "Aspects :"; +#define __SYCL_ASPECT(ASPECT, ID) \ + if (Device.has(aspect::ASPECT)) \ + std::cout << " " << #ASPECT; +#include + std::cout << std::endl; } else { std::cout << Prepend << ", " << DeviceName << " " << DeviceVersion << " [" << DeviceDriverVersion << "]" << std::endl;