Packages

  • package root
    Definition Classes
    root
  • object Example

    Simple Scala example to show how run a kernel with assert*() and PRINT*() macros and test them.

    Simple Scala example to show how run a kernel with assert*() and PRINT*() macros and test them.

    Piece of assertOpenCL

    Definition Classes
    root
    Version

    September 19, 2018

o

Example

object Example

Simple Scala example to show how run a kernel with assert*() and PRINT*() macros and test them.

Piece of assertOpenCL

Version

September 19, 2018

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Example
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val FLOAT_FIELD_SIZE: Int

    Number of bytes for the float type.

  5. val INT_FIELD_SIZE: Int

    Number of bytes for the int type.

  6. val LONG_FIELD_SIZE: Int

    Number of bytes for the long type.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def fileToString(filename: String): String

    Read the file and return its content to a string.

    Read the file and return its content to a string. If failed then throw an exception.

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def getDeviceId(platformI: Int, deviceI: Int): cl_device_id

    Return the given id device of the given platform OpenCL, or exit if doesn't exists.

  14. def getDeviceInfoString(deviceId: cl_device_id, paramName: Int): String

    Return a string corresponding to device info parameter.

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def main(args: Array[String]): Unit

    Get the optional parameter --device platform:device and run the kernel ../kernel/example.cl .

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def runExample(nbWorkGroup: Int, nbWorkItemsByWorkGroup: Int, deviceId: cl_device_id, debug: Boolean): Unit

    Run the kernel ../kernel/example.cl.

    Run the kernel ../kernel/example.cl.

    If debug then run the kernel in debug mode, else run the kernel with the macro NDEBUG defined.

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def uint32(n: Int): Long

    Return in a Long the value of n considered as an unsigned integer on 32 bits.

  25. def uint64(n: Long): BigInt

    Return in a BigInt the value of n considered as an unsigned integer on 64 bits.

  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped