Gpu
Types
Functions
def gpu_map (f: (x : a) → b) (t: Tensor) : Tensor
def gpu_imap (f: (i : Int) → b) (t: Tensor) : Tensor
def gpu_reduce (f: (acc : a) → (x : a) → a) (initial: a) (t: Tensor) : a
def gpu_filter (f: (x : a) → Bool) (t: Tensor) : Tensor
def gpu_dot (a: Tensor) (b: Tensor) : Float
def run_gpu (kernel: (x : Tensor) → a) (config: GpuConfig) (input: Tensor) : a