trait OpenCL extends MonadicCloseable[UnitContinuation] with DefaultCloseable
Ordering
- Alphabetic
- By Inheritance
Inherited
- OpenCL
- DefaultCloseable
- MonadicCloseable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
CommandQueue = OpenCL.CommandQueue[OpenCL.this.type]
- Attributes
- protected
-
type
DeviceBuffer[Element] = OpenCL.DeviceBuffer[OpenCL.this.type, Element]
- Attributes
- protected
-
type
DeviceId = OpenCL.DeviceId[OpenCL.this.type]
- Attributes
- protected
-
type
Event = OpenCL.Event[OpenCL.this.type]
- Attributes
- protected
-
type
Kernel = OpenCL.Kernel[OpenCL.this.type]
- Attributes
- protected
-
type
PlatformId = OpenCL.PlatformId[OpenCL.this.type]
- Attributes
- protected
-
type
Program = OpenCL.Program[OpenCL.this.type]
- Attributes
- protected
Abstract Value Members
-
abstract
def
acquireCommandQueue: Do[CommandQueue]
- Attributes
- protected
-
abstract
val
deviceIds: Seq[DeviceId]
- Attributes
- protected
-
abstract
def
handleOpenCLNotification(errorInfo: String, privateInfo: Option[ByteBuffer]): Unit
- Attributes
- protected
-
abstract
val
logger: Logger
- Attributes
- protected
-
abstract
val
platformId: PlatformId
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (OpenCL, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
allocateBuffer[Element](size: Long)(implicit memory: Memory[Element]): Do[DeviceBuffer[Element]]
Returns an uninitialized buffer of
Element
on device.Returns an uninitialized buffer of
Element
on device.- Attributes
- protected
-
def
allocateBufferFrom[Element, HostBuffer](hostBuffer: HostBuffer)(implicit memory: Aux[Element, HostBuffer]): Do[DeviceBuffer[Element]]
Returns a buffer of
Element
on device whose content is copied fromhostBuffer
.Returns a buffer of
Element
on device whose content is copied fromhostBuffer
.- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
lazy val
context: Long
- Attributes
- protected
- Annotations
- @transient()
-
def
createCommandQueue(deviceId: DeviceId, properties: Map[Int, Long]): CommandQueue
- Attributes
- protected
-
def
createKernel(program: Program): Kernel
Creates single kernel from this Program.
Creates single kernel from this Program.
- Attributes
- protected
- Exceptions thrown
com.thoughtworks.compute.OpenCL.Exceptions.InvalidValue
if the this Program has more than one kernel.
-
def
createKernels(program: Program): Seq[Kernel]
- Attributes
- protected
-
def
createProgramWithSource(sourceCode: TraversableOnce[CharSequence]): Program
- Attributes
- protected
-
def
defaultProgramOptions: CharSequence
- Attributes
- protected
-
lazy val
deviceCapabilities: (DeviceId) ⇒ CLCapabilities
- Attributes
- protected
- Annotations
- @transient()
-
def
dispatch(command: (CommandQueue) ⇒ Do[Event]): Do[Event]
- Attributes
- protected
-
def
enqueueReadBuffer[Element, Destination](commandQueue: CommandQueue, deviceBuffer: DeviceBuffer[Element], hostBuffer: Destination, preconditionEvents: Event*)(implicit memory: Aux[Element, Destination]): Do[Event]
- Attributes
- protected
- def ensuring(cond: (OpenCL) ⇒ Boolean, msg: ⇒ Any): OpenCL
- def ensuring(cond: (OpenCL) ⇒ Boolean): OpenCL
- def ensuring(cond: Boolean, msg: ⇒ Any): OpenCL
- def ensuring(cond: Boolean): OpenCL
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
monadicClose: UnitContinuation[Unit]
- Definition Classes
- OpenCL → DefaultCloseable → MonadicCloseable
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
lazy val
platformCapabilities: CLCapabilities
- Attributes
- protected
- Annotations
- @transient()
-
def
platformIds: Seq[PlatformId]
- Attributes
- protected
-
def
releaseContext: UnitContinuation[Unit]
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
waitForStatus(event: Event, callbackType: Status): UnitContinuation[Status]
- Attributes
- protected
- def →[B](y: B): (OpenCL, B)