32 #pragma GCC visibility push (default)
37 HIPRTC_ERROR_OUT_OF_MEMORY = 1,
38 HIPRTC_ERROR_PROGRAM_CREATION_FAILURE = 2,
39 HIPRTC_ERROR_INVALID_INPUT = 3,
40 HIPRTC_ERROR_INVALID_PROGRAM = 4,
41 HIPRTC_ERROR_INVALID_OPTION = 5,
42 HIPRTC_ERROR_COMPILATION = 6,
43 HIPRTC_ERROR_BUILTIN_OPERATION_FAILURE = 7,
44 HIPRTC_ERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATION = 8,
45 HIPRTC_ERROR_NO_LOWERED_NAMES_BEFORE_COMPILATION = 9,
46 HIPRTC_ERROR_NAME_EXPRESSION_NOT_VALID = 10,
47 HIPRTC_ERROR_INTERNAL_ERROR = 11
50 const char* hiprtcGetErrorString(hiprtcResult result);
53 hiprtcResult hiprtcVersion(
int* major,
int* minor);
58 const char* name_expression);
62 const char** options);
69 const char** includeNames);
74 const char* name_expression,
75 const char** lowered_name);
77 hiprtcResult hiprtcGetProgramLog(
hiprtcProgram prog,
char* log);
84 hiprtcResult hiprtcGetCodeSize(
hiprtcProgram prog,
size_t* codeSizeRet);
87 #pragma GCC visibility pop