Class KernelArgJNI

  • Direct Known Subclasses:
    KernelArg

    public abstract class KernelArgJNI
    extends java.lang.Object
    This class is intended to be used as a 'proxy' or 'facade' object for Java code to interact with JNI
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object array
      Only set for array objs, not used on JNI
      protected java.lang.Object buffer  
      protected int[] dims
      If this is an multidimensional array then the dimensions are stored here
      protected java.lang.reflect.Field field
      Field in Kernel class corresponding to this arg
      protected java.lang.Object javaArray
      If this field represents a Java array then the instance will be captured here
      protected java.lang.Object javaBuffer
      If this field represents an codegen buffer then the instance will be captured here
      protected java.lang.String name
      Name of the field
      protected int numDims
      If this is an multidimensional array then the number of dimensions is stored here
      protected int numElements
      If this is an array buffer then the number of elements is stored here
      protected int sizeInBytes
      If this is an array or a buffer then the size (in bytes) is held here
      protected int type
      The type of this KernelArg.
    • Constructor Summary

      Constructors 
      Constructor Description
      KernelArgJNI()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait