From 2433809507a046e3cc955afe85dd58cde729b5e0 Mon Sep 17 00:00:00 2001 From: Tang Jiajun Date: Thu, 27 Jun 2024 17:06:56 +0800 Subject: [PATCH] [SYCLomatic #2072] Add test of regsPerBlock device properties. (#731) Signed-off-by: Tang, Jiajun jiajun.tang@intel.com --- features/feature_case/device_info/device_info.cu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/feature_case/device_info/device_info.cu b/features/feature_case/device_info/device_info.cu index d8e5abaf7..cd5a6f8fc 100644 --- a/features/feature_case/device_info/device_info.cu +++ b/features/feature_case/device_info/device_info.cu @@ -28,6 +28,7 @@ void test1() { auto maxTexture1D = properties.maxTexture1D; auto maxTexture2D = properties.maxTexture2D; auto maxTexture3D = properties.maxTexture3D; + auto regsPerBlock = properties.regsPerBlock; std::cout << "Device ID: " << id << std::endl; std::cout << "Device UUID: "; @@ -43,6 +44,7 @@ void test1() { std::cout << "Device maxTexture3D: " << maxTexture3D[0] << " " << properties.maxTexture3D[1] << " " << maxTexture3D[2] << std::endl; + std::cout << "Device regsPerBlock: " << regsPerBlock << std::endl; } int main() {