SWDEV-240806 - Added API hipGraphAddMemcpyNode1D, hipGraphAddEmptyNode, hipGraphExecKernelNodeSetParams
Change-Id: I0d7ec8c0ea1abc3fc0f1e10fa7865f355d9cf2ad
Αυτή η υποβολή περιλαμβάνεται σε:
υποβλήθηκε από
Anusha Godavarthy Surya
γονέας
a89d34d0c9
υποβολή
a71f54d9e9
@@ -279,6 +279,7 @@ enum hip_api_id_t {
|
||||
HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NONE,
|
||||
HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NONE,
|
||||
HIP_API_ID_hipGetTextureReference = HIP_API_ID_NONE,
|
||||
HIP_API_ID_hipGraphAddMemcpyNode1D = HIP_API_ID_NONE,
|
||||
HIP_API_ID_hipMemcpy2DArrayToArray = HIP_API_ID_NONE,
|
||||
HIP_API_ID_hipMemcpyArrayToArray = HIP_API_ID_NONE,
|
||||
HIP_API_ID_hipMemcpyAtoA = HIP_API_ID_NONE,
|
||||
@@ -3769,6 +3770,8 @@ typedef struct hip_api_data_s {
|
||||
#define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
|
||||
// hipGetTextureReference()
|
||||
#define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
|
||||
// hipGraphAddMemcpyNode1D()
|
||||
#define INIT_hipGraphAddMemcpyNode1D_CB_ARGS_DATA(cb_data) {};
|
||||
// hipMemcpy2DArrayToArray()
|
||||
#define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) {};
|
||||
// hipMemcpyArrayToArray()
|
||||
|
||||
@@ -2292,6 +2292,13 @@ inline static hipError_t hipGraphAddMemcpyNode(hipGraphNode_t* pGraphNode, hipGr
|
||||
cudaGraphAddMemcpyNode(pGraphNode, graph, pDependencies, numDependencies, pCopyParams));
|
||||
}
|
||||
|
||||
inline static hipError_t hipGraphAddMemcpyNode1D(hipGraphNode_t* pGraphNode, hipGraph_t graph,
|
||||
const hipGraphNode_t* pDependencies, size_t numDependencies,
|
||||
void* dst, const void* src, size_t count, hipMemcpyKind kind) {
|
||||
return hipCUDAErrorTohipError(
|
||||
cudaGraphAddMemcpyNode1D(pGraphNode, graph, pDependencies, numDependencies, dst, src, count, kind));
|
||||
}
|
||||
|
||||
inline static hipError_t hipGraphAddMemsetNode(hipGraphNode_t* pGraphNode, hipGraph_t graph,
|
||||
const hipGraphNode_t* pDependencies,
|
||||
size_t numDependencies,
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user