Unmaps the memory range whose base address is specified by ptr
, and makes it pageable again.
The base address must be the same one specified to cudaHostRegister().
- Parameters:
-
| ptr | - Host pointer to memory to unregister |
- Returns:
- cudaSuccess, cudaErrorInvalidValue
- Note:
- Note that this function may also return error codes from previous, asynchronous launches.
- See also:
- cudaHostUnregister