Add HIP Compute Mode

This commit is contained in:
Aaron Enye Shi
2018-06-22 14:37:19 +00:00
parent fc80fb4ab3
commit ff924ecb3d
+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
};
/**
* @}