SWDEV-339995 - Adding hiprtcGetBitcode and hiprtcGetBitcodeSize. (#2744)
Change-Id: I90ef8c90418ec3a1bcb596d513c1e77031fe77eb
This commit is contained in:
committed by
GitHub
orang tua
a49143593c
melakukan
1342f1c2fd
@@ -269,6 +269,29 @@ hiprtcResult hiprtcGetCode(hiprtcProgram prog, char* code);
|
||||
*/
|
||||
hiprtcResult hiprtcGetCodeSize(hiprtcProgram prog, size_t* codeSizeRet);
|
||||
|
||||
/**
|
||||
* @brief Gets the pointer of compiled bitcode by the runtime compilation program instance.
|
||||
*
|
||||
* @param [in] prog runtime compilation program instance.
|
||||
* @param [out] code char pointer to bitcode.
|
||||
* @return HIPRTC_SUCCESS
|
||||
*
|
||||
* @see hiprtcResult
|
||||
*/
|
||||
hiprtcResult hiprtcGetBitcode(hiprtcProgram prog, char* bitcode);
|
||||
|
||||
/**
|
||||
* @brief Gets the size of compiled bitcode by the runtime compilation program instance.
|
||||
*
|
||||
*
|
||||
* @param [in] prog runtime compilation program instance.
|
||||
* @param [out] code the size of bitcode.
|
||||
* @return HIPRTC_SUCCESS
|
||||
*
|
||||
* @see hiprtcResult
|
||||
*/
|
||||
hiprtcResult hiprtcGetBitcodeSize(hiprtcProgram prog, size_t* bitcode_size);
|
||||
|
||||
/**
|
||||
* @brief Creates the link instance via hiprtc APIs.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user