public class CudaConstantHandler extends BasicConstantHandler
Modifier and Type | Field and Description |
---|---|
protected static ConstantHandler |
wrappedHandler |
Constructor and Description |
---|
CudaConstantHandler() |
Modifier and Type | Method and Description |
---|---|
DataBuffer |
getConstantBuffer(double[] array) |
DataBuffer |
getConstantBuffer(float[] array) |
DataBuffer |
getConstantBuffer(int[] array) |
long |
moveToConstantSpace(DataBuffer dataBuffer) |
void |
purgeConstants()
This method removes all cached constants
|
DataBuffer |
relocateConstantSpace(DataBuffer dataBuffer) |
protected static final ConstantHandler wrappedHandler
public long moveToConstantSpace(DataBuffer dataBuffer)
moveToConstantSpace
in interface ConstantHandler
moveToConstantSpace
in class BasicConstantHandler
public DataBuffer getConstantBuffer(int[] array)
public DataBuffer getConstantBuffer(float[] array)
public DataBuffer getConstantBuffer(double[] array)
public DataBuffer relocateConstantSpace(DataBuffer dataBuffer)
relocateConstantSpace
in interface ConstantHandler
relocateConstantSpace
in class BasicConstantHandler
public void purgeConstants()
Copyright © 2016. All Rights Reserved.