Add asicRevision

Change-Id: I59f3ad20b9bdadf77bd1e0725f7a401d7ad423a3


[ROCm/hip commit: 38cd2b96c7]
Cette révision appartient à :
Jason Tang
2020-06-12 17:05:16 -04:00
révisé par Jason Tang
Parent a41347a1db
révision 671b994ff8
5 fichiers modifiés avec 9 ajouts et 1 suppressions
+3 -1
Voir le fichier
@@ -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 {