#I just called cublas through rust's FFI. Advice for how to design an interface?

8 messages · Page 1 of 1 (latest)

modest pumice
#

Hello Rustaceans! Today has been a very good day!

#

I managed to call cublas kernels through Rust's FFI features.

#

My goal is to create an interface for using Cublas in Rustlang for working with 1-4 dimensional data structures

#

Those of you who have experience with these sort of things, what should I look out for in designing an interface for cublas in Rust?

#

I aim to make a system for safely managing Cuda Libraries like Cublas

#

This is inherintly very unsafe

#

I'm fairly in the know when it comes to safety, I write alot in MPI and CUDA C++. However, I'm no professional.

#

Additionally, what features in an interface for working with data structures like matrices do you want?