object cpu extends StrictLogging with UnsafeMathOptimizations with SuppressWarnings with LogContextNotification with GlobalExecutionContext with CommandQueuePool with UseAllCpuDevices with DontReleaseEventTooEarly with SynchronizedCreatingKernel with HandleEventInExecutionContextForIntelAndAMDPlatform with WangHashingRandomNumberGenerator
Ordering
- Alphabetic
- By Inheritance
Inherited
- cpu
- WangHashingRandomNumberGenerator
- HandleEventInExecutionContextForIntelAndAMDPlatform
- SynchronizedCreatingKernel
- DontReleaseEventTooEarly
- UseAllCpuDevices
- UseAllDevicesByType
- CommandQueuePool
- GlobalExecutionContext
- LogContextNotification
- SuppressWarnings
- UnsafeMathOptimizations
- Tensors
- OpenCL
- DefaultCloseable
- MonadicCloseable
- StrictLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
trait
CompiledKernel extends MonadicCloseable[UnitContinuation]
- Attributes
- protected
- Definition Classes
- Tensors
-
final
case class
EventBuffer[JvmType](buffer: Tensors.DeviceBuffer[JvmType], event: Tensors.Event) extends PendingBuffer[JvmType] with Product with Serializable
- Attributes
- protected
- Definition Classes
- Tensors
- Annotations
- @silent()
-
trait
InlineTensor extends Tensor
An intermediate expression of tensor that can be composed into a more complex expression.
An intermediate expression of tensor that can be composed into a more complex expression.
- Definition Classes
- Tensors
-
trait
MonoidPrograms extends AnyRef
- Attributes
- protected
- Definition Classes
- Tensors
-
trait
NonInlineTensor extends Tensor
- Definition Classes
- Tensors
-
sealed
trait
PendingBuffer[JvmType] extends AnyRef
- Attributes
- protected
- Definition Classes
- Tensors
-
final
case class
ReadyBuffer[JvmType](buffer: Tensors.DeviceBuffer[JvmType]) extends PendingBuffer[JvmType] with Product with Serializable
- Attributes
- protected
- Definition Classes
- Tensors
- Annotations
- @silent()
-
sealed
trait
Tensor extends AnyRef
- Definition Classes
- Tensors
-
trait
TransformedTensor extends InlineTensor
- Definition Classes
- Tensors
-
type
CommandQueue = OpenCL.CommandQueue[cpu.this.type]
- Attributes
- protected
- Definition Classes
- OpenCL
-
type
DeviceBuffer[Element] = OpenCL.DeviceBuffer[cpu.this.type, Element]
- Attributes
- protected
- Definition Classes
- OpenCL
-
type
DeviceId = OpenCL.DeviceId[cpu.this.type]
- Attributes
- protected
- Definition Classes
- OpenCL
-
type
Event = OpenCL.Event[cpu.this.type]
- Attributes
- protected
- Definition Classes
- OpenCL
-
type
Kernel = OpenCL.Kernel[cpu.this.type]
- Attributes
- protected
- Definition Classes
- OpenCL
-
type
PlatformId = OpenCL.PlatformId[cpu.this.type]
- Attributes
- protected
- Definition Classes
- OpenCL
-
type
Program = OpenCL.Program[cpu.this.type]
- Attributes
- protected
- Definition Classes
- OpenCL
Value Members
-
object
PlusPrograms extends MonoidPrograms
- Attributes
- protected
- Definition Classes
- Tensors
-
object
Tensor
- Definition Classes
- Tensors
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
acquireCommandQueue: Do[CommandQueue]
- Attributes
- protected
- Definition Classes
- CommandQueuePool → OpenCL
- Annotations
- @transient()
-
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
- Definition Classes
- OpenCL
-
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
- Definition Classes
- OpenCL
-
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
- Definition Classes
- OpenCL
- Annotations
- @transient()
-
def
createCommandQueue(deviceId: DeviceId, properties: Map[Int, Long]): CommandQueue
- Attributes
- protected
- Definition Classes
- OpenCL
-
def
createKernel(program: Program): Kernel
Creates single kernel from this Program.
Creates single kernel from this Program.
- Attributes
- protected
- Definition Classes
- SynchronizedCreatingKernel → OpenCL
- 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
- Definition Classes
- SynchronizedCreatingKernel → OpenCL
-
def
createProgramWithSource(sourceCode: TraversableOnce[CharSequence]): Program
- Attributes
- protected
- Definition Classes
- OpenCL
-
lazy val
deviceCapabilities: (DeviceId) ⇒ CLCapabilities
- Attributes
- protected
- Definition Classes
- OpenCL
- Annotations
- @transient()
-
lazy val
deviceIds: Seq[DeviceId]
- Attributes
- protected
- Definition Classes
- UseAllDevicesByType → OpenCL
- Annotations
- @transient()
-
val
deviceType: Status
- Attributes
- protected
- Definition Classes
- UseAllCpuDevices → UseAllDevicesByType
-
def
dispatch(command: (CommandQueue) ⇒ Do[Event]): Do[Event]
- Attributes
- protected
- Definition Classes
- OpenCL
-
def
enqueueReadBuffer[Element, Destination](commandQueue: CommandQueue, deviceBuffer: DeviceBuffer[Element], hostBuffer: Destination, preconditionEvents: Event*)(implicit memory: Aux[Element, Destination]): Do[Event]
- Attributes
- protected
- Definition Classes
- DontReleaseEventTooEarly → OpenCL
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
executionContext: ExecutionContextExecutor
- Attributes
- protected
- Definition Classes
- GlobalExecutionContext
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
handleOpenCLNotification(errorInfo: String, privateInfoOption: Option[ByteBuffer]): Unit
- Attributes
- protected
- Definition Classes
- LogContextNotification → OpenCL
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashSourceCode: Fastring
- Attributes
- protected
- Definition Classes
- WangHashingRandomNumberGenerator → Tensors
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
kernelCache: Cache[(trees)#ValueTerm, CompiledKernel]
- Attributes
- protected[com.thoughtworks.compute]
- Definition Classes
- Tensors
-
def
kernelCacheBuilder: CacheBuilder[(trees)#ValueTerm, CompiledKernel]
- Attributes
- protected
- Definition Classes
- Tensors
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- StrictLogging
-
def
monadicClose: UnitContinuation[Unit]
- Definition Classes
- DontReleaseEventTooEarly → 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()
-
val
numberOfCommandQueuesPerDevice: Int
- Attributes
- protected
- Definition Classes
- cpu → CommandQueuePool
-
def
openclCompilerFlags: String
- Attributes
- protected
- Definition Classes
- SuppressWarnings → Tensors
-
lazy val
platformCapabilities: CLCapabilities
- Attributes
- protected
- Definition Classes
- OpenCL
- Annotations
- @transient()
-
lazy val
platformId: PlatformId
- Attributes
- protected
- Definition Classes
- UseAllDevicesByType → OpenCL
- Annotations
- @transient()
-
def
platformIds: Seq[PlatformId]
- Attributes
- protected
- Definition Classes
- OpenCL
-
def
releaseContext: UnitContinuation[Unit]
- Attributes
- protected
- Definition Classes
- OpenCL
-
lazy val
shutdownCommandQueues: UnitContinuation[Unit]
- Attributes
- protected
- Definition Classes
- CommandQueuePool
- Annotations
- @transient()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
trees: AllTrees with MemoryTrees with StructuralTrees { type Category = com.thoughtworks.compute.Expressions.Tuples with com.thoughtworks.compute.Expressions.Floats with com.thoughtworks.compute.Expressions.Arrays }
- Attributes
- protected
- Definition Classes
- Tensors
-
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
- Definition Classes
- HandleEventInExecutionContextForIntelAndAMDPlatform → OpenCL