libcg
libcg copied to clipboard
Hi Simon. I have tried the demo in my windows pc using msys2, and it works well. But I met some problems when I tried calling the compiled c lib...
The Windows build of `CG` fails, both when using the included `makefile`s and when running `build.jl` directly from Julia. Trying to use the top-level `makefile` (`libcg/makefile`) with `mingw32-make` gives the...
I count know how to use this package to create dll file of my julia code?
Would require https://github.com/JuliaGPU/CUDA.jl/issues/56
As of current master (5b869e630b3535935a5b28e4d5498482586b6770), ``` $ touch lib/cg.jl $ time make julia --startup-file=no --project build.jl [ Info: PackageCompiler: creating base system image (incremental=false)... [ Info: PackageCompiler: creating system image...
We would need some way to specify C function signatures, but it would be nice if we could write something like ``` @ccallable function julia_cg(fptr::CfnPtr{Cint, (Ptr{Cdouble}, Ptr{Cdouble})}, cx::Ptr{Cdouble}, cb::Ptr{Cdouble}, len::Csize_t)::Cint...