TheKindlerofWildfires / nonphysical

Accelerated rust for scientific computing
MIT License
0 stars 0 forks source link

Integrate perf enhancers as they mature #2

Open TheKindlerofWildfires opened 3 months ago

TheKindlerofWildfires commented 3 months ago

Keeping an eye on the following

When portable SIMD comes to rust core https://github.com/rust-lang/rust/issues/86656 When bend has good single core performance https://github.com/HigherOrderCO/Bend/issues/391

TheKindlerofWildfires commented 1 month ago

Spent some time working through compiling to the PTX target, it's painful at build time and I'm not sure how the kernels can be invoked 'safely'. One would hope if they are written in safe rust and invoked in safe rust the actual unsafe keyword isn't critical but I'm not certain.

Also if this is going to run on the PTX target it's a no_std environment which makes no_std a required feature

TheKindlerofWildfires commented 3 weeks ago

Cuda integration is in V1 stage, meaning that parallel on CPU is the big milestone left here