Skip to content

Commit

Permalink
SWDEV-448482 - Clean up header only APIs
Browse files Browse the repository at this point in the history
- Remove APIs which only have declarations but no implementations

Change-Id: I9417bf2a815d671685f61b7deb158288ca1c75da
  • Loading branch information
rakesroy committed Feb 29, 2024
1 parent 2977d9a commit eb08a4c
Showing 1 changed file with 0 additions and 72 deletions.
72 changes: 0 additions & 72 deletions include/hip/hip_runtime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -6926,56 +6926,6 @@ hipError_t hipGraphLaunch(hipGraphExec_t graphExec, hipStream_t stream);
*/
hipError_t hipGraphUpload(hipGraphExec_t graphExec, hipStream_t stream);

/**
* @brief Creates a kernel execution node and adds it to a graph.
*
* @param [out] pGraphNode - pointer to graph node to create.
* @param [in] graph - instance of graph to add the created node.
* @param [in] pDependencies - pointer to the dependencies on the kernel execution node.
* @param [in] numDependencies - the number of the dependencies.
* @param [in] nodeParams - pointer to the parameters for the node.
* @returns #hipSuccess, #hipErrorInvalidValue.
* @warning : This API is marked as beta, meaning, while this is feature complete,
* it is still open to changes and may have outstanding issues.
*/
hipError_t hipGraphAddNode(hipGraphNode_t *pGraphNode, hipGraph_t graph,
const hipGraphNode_t *pDependencies, size_t numDependencies,
hipGraphNodeParams *nodeParams);

/**
* @brief Return the flags on executable graph.
*
* @param [in] graphExec - Executable graph to get the flags.
* @param [out] flags - Flags used to instantiate this executable graph.
* @returns #hipSuccess, #hipErrorInvalidValue.
* @warning : This API is marked as beta, meaning, while this is feature complete,
* it is still open to changes and may have outstanding issues.
*/
hipError_t hipGraphExecGetFlags(hipGraphExec_t graphExec, unsigned long long* flags);

/**
* @brief Updates parameters of a created node.
*
* @param [in] node - instance of the node to set parameters to.
* @param [in] nodeParams - pointer to the parameters.
* @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidDeviceFunction, #hipErrorNotSupported.
* @warning : This API is marked as beta, meaning, while this is feature complete,
* it is still open to changes and may have outstanding issues.
*/
hipError_t hipGraphNodeSetParams(hipGraphNode_t node, hipGraphNodeParams *nodeParams);

/**
* @brief Updates parameters of a created node on executable graph.
*
* @param [in] graphExec - instance of executable graph.
* @param [in] node - instance of the node to set parameters to.
* @param [in] nodeParams - pointer to the parameters.
* @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidDeviceFunction, #hipErrorNotSupported.
* @warning : This API is marked as beta, meaning, while this is feature complete,
* it is still open to changes and may have outstanding issues.
*/
hipError_t hipGraphExecNodeSetParams(hipGraphExec_t graphExec, hipGraphNode_t node, hipGraphNodeParams* nodeParams);

/**
* @brief Destroys an executable graph
*
Expand Down Expand Up @@ -7900,28 +7850,6 @@ hipError_t hipGraphExecExternalSemaphoresSignalNodeSetParams(hipGraphExec_t hGra
hipError_t hipGraphExecExternalSemaphoresWaitNodeSetParams(hipGraphExec_t hGraphExec, hipGraphNode_t hNode,
const hipExternalSemaphoreWaitNodeParams* nodeParams);

/**
* @brief Gets a memcpy node's parameters.
*
* @param [in] hNode - instance of the node to get parameters from.
* @param [out] nodeParams - pointer to the parameters.
* @returns #hipSuccess, #hipErrorInvalidValue
* @warning : This API is marked as beta, meaning, while this is feature complete,
* it is still open to changes and may have outstanding issues.
*/
hipError_t hipDrvGraphMemcpyNodeGetParams(hipGraphNode_t hNode, HIP_MEMCPY3D* nodeParams);

/**
* @brief Sets a memcpy node's parameters.
*
* @param [in] hNode - instance of the node to Set parameters for.
* @param [out] nodeParams - pointer to the parameters.
* @returns #hipSuccess, #hipErrorInvalidValue
* @warning : This API is marked as beta, meaning, while this is feature complete,
* it is still open to changes and may have outstanding issues.
*/
hipError_t hipDrvGraphMemcpyNodeSetParams(hipGraphNode_t hNode, const HIP_MEMCPY3D* nodeParams);

/**
* @brief Creates a memset node and adds it to a graph.
*
Expand Down

0 comments on commit eb08a4c

Please sign in to comment.