def Cublas.upload
import bend-blas-lapack@0.0.0.1/cublas.bend as Cublasimport Base
23# The first n floats of an array copied to the device; answers the buffer id. The array is consumed.
24def Cublas.upload(n: U32, a: Array<F32>) -> IO(Result<&1, &1, U32 & String, U32>):
25 import "./effs/cublas_upload.c"
26 import "./effs/cublas_upload.js"