RmmAllocationMode#

public class RmmAllocationMode#

Bit flags that select the RMM memory allocation strategy.

Combine flags with bitwise OR and pass the result to Rmm.initialize(int, Rmm.LogConf, long).

Field Summary

ARENA

Use arena suballocation strategy.

CUDA_ASYNC

Use CUDA async suballocation strategy.

CUDA_ASYNC_FABRIC

Use CUDA async suballocation strategy with fabric handles that are peer accessible with read-write access.

CUDA_DEFAULT

Use cudaMalloc for allocation.

CUDA_MANAGED_MEMORY

Use cudaMallocManaged rather than cudaMalloc.

POOL

Use pool suballocation strategy.

Static Fields

public static final int CUDA_DEFAULT = 0x00000000#

Use cudaMalloc for allocation.

public static final int POOL = 0x00000001#

Use pool suballocation strategy.

public static final int CUDA_MANAGED_MEMORY = 0x00000002#

Use cudaMallocManaged rather than cudaMalloc.

public static final int ARENA = 0x00000004#

Use arena suballocation strategy.

public static final int CUDA_ASYNC = 0x00000008#

Use CUDA async suballocation strategy.

public static final int CUDA_ASYNC_FABRIC = 0x00000010#

Use CUDA async suballocation strategy with fabric handles that are peer accessible with read-write access.