Radeon ProRender

hiprtBuildTraceGetBinary

Gets binary with HIPRT routines.

hiprtError hiprtBuildTraceGetBinary( void* prog,
  size_t* size,
  void* binary);

Parameters

Parameter Description
prog Program instance.
size Output size of binary.
binary Output if NULL function returns size of parameter else returned binary(application should allocate for binary).

Return

Returns HIPRT error in case of a failure, or hiprtSuccess otherwise.