funclp.CudaReference module

class funclp.CudaReference[source]

Bases: object

This class serves as a parent class and gives parameters defining cuda usage.

cuda_reference

Object on which we get all the cuda parameters, if None uses default from “_cudaattribut”.

Type:

object

cuda

True to calculate on GPU, False for CPU, None for automatic.

Type:

bool

cpu2gpu

Number of bytes from which we consider calculating on GPU is worth.

Type:

float

property cpu2gpu
property cuda
cuda_reference = None