Spoc_core.Gpu_memoryTotal GPU memory currently allocated (bytes), across all devices
Decrement allocated bytes without counting as an explicit free (used by GC finalizers)
Bytes held in SPOC device buffers, including buffers that are host memory (Native, Interpreter, Host_ptr_buffer): not device memory in use.
val stats : unit -> statsGet all statistics
Attempt an allocation, retrying after GC if it fails. On first failure: run Gc.full_major to trigger finalizers. On second failure: run Gc.compact for maximum cleanup. On third failure: propagate the exception.
val register_finalizer : ('a, 'b) Vector_types.t -> unitRegister a finalizer on a vector to free device buffers when GC'd.