Skip to content

Commit 2433809

Browse files
authored
[SYCLomatic #2072] Add test of regsPerBlock device properties. (#731)
Signed-off-by: Tang, Jiajun [email protected]
1 parent da8cd10 commit 2433809

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features/feature_case/device_info/device_info.cu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ void test1() {
2828
auto maxTexture1D = properties.maxTexture1D;
2929
auto maxTexture2D = properties.maxTexture2D;
3030
auto maxTexture3D = properties.maxTexture3D;
31+
auto regsPerBlock = properties.regsPerBlock;
3132

3233
std::cout << "Device ID: " << id << std::endl;
3334
std::cout << "Device UUID: ";
@@ -43,6 +44,7 @@ void test1() {
4344
std::cout << "Device maxTexture3D: " << maxTexture3D[0] << " "
4445
<< properties.maxTexture3D[1] << " " << maxTexture3D[2]
4546
<< std::endl;
47+
std::cout << "Device regsPerBlock: " << regsPerBlock << std::endl;
4648
}
4749

4850
int main() {

0 commit comments

Comments
 (0)