SWDEV-444021 - Implement hipGetFuncBySymbol

Change-Id: I7ef13d02c5b5c6ce2386ccb92b5602d005b35988
This commit is contained in:
Satyanvesh Dittakavi
2024-02-15 09:42:48 +00:00
parent 43e2bb6126
commit 684fd60c8f
7 changed files with 61 additions and 8 deletions
+4 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved.
Copyright (c) 2023 - 2024 Advanced Micro Devices, Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -1740,3 +1740,6 @@ hipError_t hipStreamBeginCaptureToGraph(hipStream_t stream, hipGraph_t graph,
return hip::GetHipDispatchTable()->hipStreamBeginCaptureToGraph_fn(
stream, graph, dependencies, dependencyData, numDependencies, mode);
}
hipError_t hipGetFuncBySymbol(hipFunction_t* functionPtr, const void* symbolPtr) {
return hip::GetHipDispatchTable()->hipGetFuncBySymbol_fn(functionPtr, symbolPtr);
}