Radeon ProRender


Returns memory usage information.

The model must be prepared for inference with rmlPrepareModel() before this call.

rml_status rmlGetModelMemoryInfo( rml_model model,
  rml_memory_info* info);




Parameter Input/Output Description
model input A valid model handle.
info output A pointer to a resulting rml_memory_info structure.

Return and Status Codes

Returns one of the following status codes:

  • RML_OK if the operation is successful
  • RML_ERROR_BAD_PARAMETER if model is invalid or info is NULL
  • RML_ERROR_MODEL_NOT_READY if rmlPrepareModel() was not called on the model

To get more details in case of failure, call rmlGetLastError().