public class cudaMemcpyKind extends Object
Modifier and Type | Field and Description |
---|---|
static int |
cudaMemcpyDefault
Direction of the transfer is inferred from the pointer values.
|
static int |
cudaMemcpyDeviceToDevice
Device -> Device
|
static int |
cudaMemcpyDeviceToHost
Device -> Host
|
static int |
cudaMemcpyHostToDevice
Host -> Device
|
static int |
cudaMemcpyHostToHost
Host -> Host
|
Modifier and Type | Method and Description |
---|---|
static String |
stringFor(int k)
Returns the String identifying the given cudaMemcpyKind
|
public static final int cudaMemcpyHostToHost
public static final int cudaMemcpyHostToDevice
public static final int cudaMemcpyDeviceToHost
public static final int cudaMemcpyDeviceToDevice
public static final int cudaMemcpyDefault
public static String stringFor(int k)
k
- The cudaMemcpyKindCopyright © 2020. All rights reserved.