rmlUnmapTensor

Unmaps a previously mapped tensor data.

rml_status rmlUnmapTensor(

rml_tensor tensor,

void* data);

API

Main

Parameters

Parameter

Input/Output

Description

tensor

input

A valid tensor handle.

data

input

A pointer to the previously mapped data.

Return and Status Codes

Returns one of the following status codes:

  • RML_OK if the operation is successful

  • RML_ERROR_BAD_PARAMETER if data is invalid

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