Report the HW requirments for pitch alignment

Change-Id: Iaaa9d597dff57cfad5d07d931f881aba1a5f98f1


[ROCm/hip commit: 5623c74c35]
Цей коміт міститься в:
Vladislav Sytchenko authored and Vladislav Sytchenko committed 2020-02-21 11:09:47 -05:00
1 джерело 26f6f3ad25
коміт fd93b9c476
2 files changed
+5 -1

No files matched your search

+3
Переглянути файл
@@ -269,6 +269,9 @@ hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device)
case hipDeviceAttributeTextureAlignment:
*pi = prop.textureAlignment;
break;
case hipDeviceAttributeTexturePitchAlignment:
*pi = prop.texturePitchAlignment;
break;
case hipDeviceAttributeKernelExecTimeout:
*pi = prop.kernelExecTimeoutEnabled;
break;