Skip to content

Commit

Permalink
[SYCLomatic #2072] Add test of regsPerBlock device properties.
Browse files Browse the repository at this point in the history
Signed-off-by: Tang, Jiajun [email protected]
  • Loading branch information
tangjj11 committed Jun 27, 2024
1 parent 09b0646 commit 53afa31
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 53afa31

Please sign in to comment.