jcuda.runtime
Class cudaArray

java.lang.Object
  extended by jcuda.NativePointerObject
      extended by jcuda.runtime.cudaArray

public class cudaArray
extends NativePointerObject

Java port of a cudaArray

See Also:
JCuda.cudaMallocArray(jcuda.runtime.cudaArray, jcuda.runtime.cudaChannelFormatDesc, long, long), JCuda.cudaMalloc3DArray(jcuda.runtime.cudaArray, jcuda.runtime.cudaChannelFormatDesc, jcuda.runtime.cudaExtent), JCuda.cudaFreeArray(jcuda.runtime.cudaArray)

Constructor Summary
cudaArray()
          Creates a new, uninitialized cudaArray
cudaArray(CUarray array)
          Creates a cudaArray for the given CUarray.
 
Method Summary
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class jcuda.NativePointerObject
equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

cudaArray

public cudaArray()
Creates a new, uninitialized cudaArray


cudaArray

public cudaArray(CUarray array)
Creates a cudaArray for the given CUarray. This corresponds to casting a CUarray to a cudaArray.

Parameters:
array - The other array
Method Detail

toString

public java.lang.String toString()
Returns a String representation of this object.

Overrides:
toString in class NativePointerObject
Returns:
A String representation of this object.