rrReleaseDevicePtr

Releases a device pointer.

RRError rrReleaseDevicePtr(

RRContext context,

RRDevicePtr ptr);

Applies to

All supported backends

Parameters

Parameter

Input/Output

Description

context

input

RR API context.

ptr

input

Device pointer to release.

Return

Returns an error in case of a failure, or RR_Success otherwise.