public class cudaPointerAttributes extends Object
Modifier and Type | Field and Description |
---|---|
int |
device
The device against which the memory was allocated or registered.
|
Pointer |
devicePointer
The address which may be dereferenced on the current device to access
the memory or NULL if no such address exists.
|
Pointer |
hostPointer
The address which may be dereferenced on the host to access the
memory or NULL if no such address exists.
|
int |
isManaged
Deprecated.
As of CUDA 10, this is part of the
type |
int |
memoryType
Deprecated.
Replaced by
type in CUDA 10 |
int |
type
The type of memory - ::cudaMemoryTypeUnregistered, ::cudaMemoryTypeHost,
::cudaMemoryTypeDevice or ::cudaMemoryTypeManaged.
|
Constructor and Description |
---|
cudaPointerAttributes()
Creates a new, uninitialized cudaPointerAttributes
|
public int memoryType
type
in CUDA 10public int type
public int device
public Pointer devicePointer
public Pointer hostPointer
public int isManaged
type
Copyright © 2020. All rights reserved.