Sha256: fa9021080005818aca8c44dddc4eae9bbccd744675735c7ecba99ca6cdadc7bd
Contents?: true
Size: 335 Bytes
Versions: 19
Compression:
Stored size: 335 Bytes
Contents
void <%="cumo_#{c_func(:nodef)}_kernel_launch"%>(dtype *ptr, dtype x); static VALUE <%=c_func(:nodef)%>(dtype x) { VALUE v; dtype *ptr; v = cumo_na_new(cT, 0, NULL); ptr = (dtype*)cumo_na_get_pointer_for_write(v); <%="cumo_#{c_func(:nodef)}_kernel_launch"%>(ptr, x); cumo_na_release_lock(v); return v; }
Version data entries
19 entries across 19 versions & 1 rubygems