public class ContextPack extends Object
Constructor and Description |
---|
ContextPack(CudaContext context) |
ContextPack(int totalLanes) |
Modifier and Type | Method and Description |
---|---|
void |
addLane(Integer laneId,
CudaContext context) |
CudaContext |
getContextForLane(Integer laneId) |
int |
nextRandomLane() |
public ContextPack(int totalLanes)
public ContextPack(CudaContext context)
public void addLane(@NonNull Integer laneId, @NonNull CudaContext context)
public CudaContext getContextForLane(Integer laneId)
public int nextRandomLane()
Copyright © 2016. All Rights Reserved.