Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type (!'a, !'b) custom = {
size : int;
get : customarray -> int -> 'a;
set : customarray -> int -> 'a -> unit;
}
val int : (int, Bigarray.int_elt) kind
val int32 : (int32, Bigarray.int32_elt) kind
val char : (char, Bigarray.int8_unsigned_elt) kind
val int64 : (int64, Bigarray.int64_elt) kind
val float32 : (float, Bigarray.float32_elt) kind
val float64 : (float, Bigarray.float64_elt) kind
val complex32 : (Stdlib.Complex.t, Bigarray.complex32_elt) kind
type (!'a, !'b) spoc_vec =
| Bigarray of ('a, 'b, Bigarray.c_layout) Bigarray.Array1.t
| CustomArray of customarray * ('a, 'b) custom
and ('a, 'b) sub = int * int * int * int * ('a, 'b) vector
val init_cuda_device_vec : unit -> device_vec
val init_opencl_device_vec : unit -> device_vec
val create_custom : ('a, 'b) custom -> int -> customarray
val create : ('a, 'b) kind -> ?dev:Devices.device -> int -> ('a, 'b) vector
val length : ('a, 'b) vector -> int
val dev : ('a, 'b) vector -> vec_device
val device : ('a, 'b) vector -> int
val get_vec_id : ('a, 'b) vector -> int
val vseek : ('a, 'b) vector -> int -> unit
val get_seek : ('a, 'b) vector -> int
val unsafe_get : ('a, 'b) vector -> int -> 'a
val unsafe_set : ('a, 'b) vector -> int -> 'a -> unit
val set_device : ('a, 'b) vector -> int -> vec_device -> unit
val device_vec : ('a, 'b) vector -> [< `Cuda | `OpenCL ] -> int -> device_vec
val to_bigarray_shr :
('a, 'b) vector ->
('a, 'b, Bigarray.c_layout) Bigarray.Array1.t