Add HIP Compute Mode

This commit is contained in:
Aaron Enye Shi
2018-06-22 14:37:19 +00:00
parent 272c16d34e
commit c73cd64f5b
+6
View File
@@ -293,6 +293,12 @@ typedef enum hipDeviceAttribute_t {
hipDeviceAttributeIntegrated, ///< iGPU
} hipDeviceAttribute_t;
enum hipComputeMode {
hipComputeModeDefault = 0,
hipComputeModeExclusive = 1,
hipComputeModeProhibited = 2,
hipComputeModeExcusiveProcess = 3
};
/**
* @}