CUDA RTC API supported by HIP

April 23, 2026 ยท View on GitHub

CUDA RTC API supported by HIP

Note: In the tables that follow the columns marked A, D, C, R, U, and E mean the following: A - Added; D - Deprecated; C - Changed; R - Removed; U - Unsupported for CUDA version(s); E - Experimental

1. RTC Data types

CUDAADCRHIPADCRUE
NVRTC_ERROR_BUILTIN_OPERATION_FAILUREHIPRTC_ERROR_BUILTIN_OPERATION_FAILURE2.6.0
NVRTC_ERROR_CANCELLED12.8
NVRTC_ERROR_COMPILATIONHIPRTC_ERROR_COMPILATION2.6.0
NVRTC_ERROR_INTERNAL_ERROR8.0HIPRTC_ERROR_INTERNAL_ERROR2.6.0
NVRTC_ERROR_INVALID_INPUTHIPRTC_ERROR_INVALID_INPUT2.6.0
NVRTC_ERROR_INVALID_OPTIONHIPRTC_ERROR_INVALID_OPTION2.6.0
NVRTC_ERROR_INVALID_PROGRAMHIPRTC_ERROR_INVALID_PROGRAM2.6.0
NVRTC_ERROR_NAME_EXPRESSION_NOT_VALID8.0HIPRTC_ERROR_NAME_EXPRESSION_NOT_VALID2.6.0
NVRTC_ERROR_NO_LOWERED_NAMES_BEFORE_COMPILATION8.0HIPRTC_ERROR_NO_LOWERED_NAMES_BEFORE_COMPILATION2.6.0
NVRTC_ERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATION8.0HIPRTC_ERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATION2.6.0
NVRTC_ERROR_NO_PCH_CREATE_ATTEMPTED12.8
NVRTC_ERROR_OUT_OF_MEMORYHIPRTC_ERROR_OUT_OF_MEMORY2.6.0
NVRTC_ERROR_PCH_CREATE12.8
NVRTC_ERROR_PCH_CREATE_HEAP_EXHAUSTED12.8
NVRTC_ERROR_PROGRAM_CREATION_FAILUREHIPRTC_ERROR_PROGRAM_CREATION_FAILURE2.6.0
NVRTC_ERROR_TIME_FILE_WRITE_FAILED12.1
NVRTC_ERROR_TIME_TRACE_FILE_WRITE_FAILED13.0
NVRTC_SUCCESSHIPRTC_SUCCESS2.6.0
_nvrtcProgram_hiprtcProgram2.6.0
nvrtcProgramhiprtcProgram2.6.0
nvrtcResulthiprtcResult2.6.0

2. RTC API functions

CUDAADCRHIPADCRUE
nvrtcAddNameExpression8.0hiprtcAddNameExpression2.6.0
nvrtcCompileProgram8.0hiprtcCompileProgram2.6.07.0.0
nvrtcCreateProgram8.0hiprtcCreateProgram2.6.07.0.0
nvrtcDestroyProgramhiprtcDestroyProgram2.6.0
nvrtcGetCUBIN11.1hiprtcGetBitcode5.3.0
nvrtcGetCUBINSize11.1hiprtcGetBitcodeSize5.3.0
nvrtcGetErrorStringhiprtcGetErrorString2.6.0
nvrtcGetLTOIR12.0
nvrtcGetLTOIRSize12.0
nvrtcGetLoweredName8.0hiprtcGetLoweredName2.6.0
nvrtcGetNVVM11.412.013.0
nvrtcGetNVVMSize11.412.013.0
nvrtcGetNumSupportedArchs11.2
nvrtcGetOptiXIR12.0
nvrtcGetOptiXIRSize12.0
nvrtcGetPCHCreateStatus12.8
nvrtcGetPCHHeapSize12.8
nvrtcGetPCHHeapSizeRequired12.8
nvrtcGetPTXhiprtcGetCode2.6.0
nvrtcGetPTXSizehiprtcGetCodeSize2.6.0
nvrtcGetProgramLoghiprtcGetProgramLog2.6.0
nvrtcGetProgramLogSizehiprtcGetProgramLogSize2.6.0
nvrtcGetSupportedArchs11.2
nvrtcGetTileIR13.2
nvrtcGetTileIRSize13.2
nvrtcSetFlowCallback12.8
nvrtcSetPCHHeapSize12.8
nvrtcVersionhiprtcVersion2.6.0