added new field to hipDeviceProp_t structure gcnArch.

1. It is an integer containing gfx values 701, 801, 802, 803
2. On NV path, it is zero

Change-Id: I2b4c7f48981d0214d8c6b1905d2cc85b16203419
This commit is contained in:
Aditya Atluri
2017-03-07 11:24:32 -06:00
parent 12e8d635aa
commit f86f3b3b33
3 changed files with 24 additions and 8 deletions
+1
View File
@@ -106,6 +106,7 @@ typedef struct hipDeviceProp_t {
size_t maxSharedMemoryPerMultiProcessor; ///< Maximum Shared Memory Per Multiprocessor.
int isMultiGpuBoard; ///< 1 if device is on a multi-GPU board, 0 if not.
int canMapHostMemory; ///< Check whether HIP can map host memory
int gcnArch; ///< AMD GCN Arch Value. Eg: 803, 701
} hipDeviceProp_t;