SWDEV-281658 - Workaround for Windows build
Currently hip_prof_str.h does not include any header files. All HIP declarations are being resolved by accident. Pushing it to the end of hip_runtime_api.h will allow it to include the definition of GLuint. Change-Id: Ibb33b93cc7eab2028ba96f166bcb06f2f079feef
This commit is contained in:
@@ -4194,9 +4194,6 @@ hipError_t hipGraphAddEmptyNode(hipGraphNode_t* pGraphNode, hipGraph_t graph,
|
||||
#ifdef __cplusplus
|
||||
} /* extern "c" */
|
||||
#endif
|
||||
#if USE_PROF_API
|
||||
#include <hip/amd_detail/hip_prof_str.h>
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
#if defined(__clang__) && defined(__HIP__)
|
||||
template <typename T>
|
||||
@@ -4443,3 +4440,7 @@ static inline hipError_t hipMallocManaged(T** devPtr, size_t size,
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if USE_PROF_API
|
||||
#include <hip/amd_detail/hip_prof_str.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user