SWDEV-318833 - move the structs under correct flag. (#2647)
- this will resolve NV test failure.
Change-Id: I2c8467cad002e881264856bb1544aa6b973f2505
[ROCm/hip commit: a456650d2c]
This commit is contained in:
committed by
GitHub
parent
2bbbce8619
commit
be1dc38bb9
@@ -165,32 +165,6 @@ typedef enum hipMemoryType {
|
||||
hipMemoryTypeUnified ///< Not used currently
|
||||
} hipMemoryType;
|
||||
|
||||
/**
|
||||
* @brief hipKernelNodeAttrID
|
||||
* @enum
|
||||
*
|
||||
*/
|
||||
typedef enum hipKernelNodeAttrID {
|
||||
hipKernelNodeAttributeAccessPolicyWindow = 1,
|
||||
hipKernelNodeAttributeCooperative = 2,
|
||||
} hipKernelNodeAttrID;
|
||||
typedef enum hipAccessProperty {
|
||||
hipAccessPropertyNormal = 0,
|
||||
hipAccessPropertyStreaming = 1,
|
||||
hipAccessPropertyPersisting = 2,
|
||||
} hipAccessProperty;
|
||||
typedef struct hipAccessPolicyWindow {
|
||||
void* base_ptr;
|
||||
hipAccessProperty hitProp;
|
||||
float hitRatio;
|
||||
hipAccessProperty missProp;
|
||||
size_t num_bytes;
|
||||
} hipAccessPolicyWindow;
|
||||
typedef union hipKernelNodeAttrValue {
|
||||
hipAccessPolicyWindow accessPolicyWindow;
|
||||
int cooperative;
|
||||
} hipKernelNodeAttrValue;
|
||||
|
||||
/**
|
||||
* Pointer attributes
|
||||
*/
|
||||
@@ -1141,6 +1115,32 @@ typedef struct hipMemsetParams {
|
||||
size_t width;
|
||||
} hipMemsetParams;
|
||||
|
||||
/**
|
||||
* @brief hipKernelNodeAttrID
|
||||
* @enum
|
||||
*
|
||||
*/
|
||||
typedef enum hipKernelNodeAttrID {
|
||||
hipKernelNodeAttributeAccessPolicyWindow = 1,
|
||||
hipKernelNodeAttributeCooperative = 2,
|
||||
} hipKernelNodeAttrID;
|
||||
typedef enum hipAccessProperty {
|
||||
hipAccessPropertyNormal = 0,
|
||||
hipAccessPropertyStreaming = 1,
|
||||
hipAccessPropertyPersisting = 2,
|
||||
} hipAccessProperty;
|
||||
typedef struct hipAccessPolicyWindow {
|
||||
void* base_ptr;
|
||||
hipAccessProperty hitProp;
|
||||
float hitRatio;
|
||||
hipAccessProperty missProp;
|
||||
size_t num_bytes;
|
||||
} hipAccessPolicyWindow;
|
||||
typedef union hipKernelNodeAttrValue {
|
||||
hipAccessPolicyWindow accessPolicyWindow;
|
||||
int cooperative;
|
||||
} hipKernelNodeAttrValue;
|
||||
|
||||
/**
|
||||
* @brief hipGraphExecUpdateResult
|
||||
* @enum
|
||||
|
||||
Reference in New Issue
Block a user