Radeon ProRender


Creates HIPRT API context.

All HIPRT functions expect context as their first argument. Context keeps global data required by HIPRT session. Calls made from different threads with different HIPRT contexts are safe. Calls with the same context should be externally synchronized by the client.

hiprtError hiprtCreateContext( uint32_t hiprtApiVersion,
  hiprtContextCreationInput& input,
  hiprtContext* outContext);


Parameter Description
hiprtApiVersion API version.
input Input will hold deviceType, ctx (which will be raw context), device (which will be raw device).
outContext Created context.


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