Add asicRevision

Change-Id: I59f3ad20b9bdadf77bd1e0725f7a401d7ad423a3
This commit is contained in:
Jason Tang
2020-06-12 17:05:16 -04:00
committed by Jason Tang
parent 7682ec6a7b
commit 38cd2b96c7
5 changed files with 9 additions and 1 deletions
+3 -1
View File
@@ -138,6 +138,7 @@ typedef struct hipDeviceProp_t {
int cooperativeMultiDeviceUnmatchedSharedMem; ///< HIP device supports cooperative launch on multiple
///devices with unmatched shared memories
int isLargeBar; ///< 1: if it is a large PCI bar device, else 0
int asicRevision; ///< Revision of the GPU in this device.
} hipDeviceProp_t;
@@ -345,8 +346,9 @@ typedef enum hipDeviceAttribute_t {
///devices with unmatched grid dimensions
hipDeviceAttributeCooperativeMultiDeviceUnmatchedBlockDim, ///< Supports cooperative launch on multiple
///devices with unmatched block dimensions
hipDeviceAttributeCooperativeMultiDeviceUnmatchedSharedMem ///< Supports cooperative launch on multiple
hipDeviceAttributeCooperativeMultiDeviceUnmatchedSharedMem, ///< Supports cooperative launch on multiple
///devices with unmatched shared memories
hipDeviceAttributeAsicRevision ///< Revision of the GPU in this device
} hipDeviceAttribute_t;
enum hipComputeMode {