diff --git a/include/hip/hcc_detail/hip_runtime.h b/include/hip/hcc_detail/hip_runtime.h index 0a173bb466..a2d1e4c671 100644 --- a/include/hip/hcc_detail/hip_runtime.h +++ b/include/hip/hcc_detail/hip_runtime.h @@ -365,19 +365,6 @@ extern void ihipPostLaunchKernel(const char* kernelName, hipStream_t stream, gri #endif //__HCC_CPP__ -/** - * @defgroup HIP-ENV HIP Environment Variables - * @{ - */ -// extern int HIP_PRINT_ENV ; ///< Print all HIP-related environment variables. -// extern int HIP_TRACE_API; ///< Trace HIP APIs. -// extern int HIP_LAUNCH_BLOCKING ; ///< Make all HIP APIs host-synchronous - -/** - * @} - */ - - // End doxygen API: /** * @} diff --git a/include/hip/hcc_detail/hip_runtime_api.h b/include/hip/hcc_detail/hip_runtime_api.h index e09de31d68..4ee3a51d71 100755 --- a/include/hip/hcc_detail/hip_runtime_api.h +++ b/include/hip/hcc_detail/hip_runtime_api.h @@ -3046,6 +3046,15 @@ hipError_t hipModuleGetGlobal(hipDeviceptr_t* dptr, size_t* bytes, hipModule_t hmod, const char* name); #endif // __HIP_ROCclr__ +/** + * @brief returns the handle of the texture reference with the name from the module. + * + * @param [in] hmod + * @param [in] name + * @param [out] texRef + * + * @returns hipSuccess, hipErrorNotInitialized, hipErrorNotFound, hipErrorInvalidValue + */ hipError_t hipModuleGetTexRef(textureReference** texRef, hipModule_t hmod, const char* name); /**