Skip to content

Commit

Permalink
[SYCLomatic #2072] Add test of regsPerBlock device properties. (#731)
Browse files Browse the repository at this point in the history
Signed-off-by: Tang, Jiajun [email protected]
  • Loading branch information
tangjj11 authored Jun 27, 2024
1 parent da8cd10 commit 2433809
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions features/feature_case/device_info/device_info.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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: ";
Expand All @@ -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() {
Expand Down

0 comments on commit 2433809

Please sign in to comment.