class LA::WorkPool

Overview

Work arrays pool for lapack routines It isn't thread safe for now because crystal isn't multithreaded

Defined in:

linalg/workpool.cr

Instance Method Summary

Instance Method Detail

def get(n) : Bytes #

[View source]
def get_cmplx(n) : Slice(LibCBLAS::ComplexDouble) #

[View source]
def get_f32(n) : Slice(Float32) #

[View source]
def get_f64(n) : Slice(Float64) #

[View source]
def get_i32(n) : Slice(Int32) #

[View source]
def reallocate(required_size) #

[View source]
def release #

[View source]