Open orlando-labs opened 2 years ago
Hi. First of all, thanks for Numo.
I propose to make numo ractor-safe in order to use it with ruby 3 ractors by calling rb_ractor_safe(true) in the C-code. Otherwise it is not possible to parallelise computational-expensive applications using Numo within newly introduced ractors.
Thanks
If you could review this, it would be a contribution... https://github.com/ruby-numo/numo-narray/pull/199
Thanks! I will try it with my current project and get back with the feedback, ok?
https://github.com/ruby-numo/numo-narray/pull/199#issuecomment-1027988803
Hi. First of all, thanks for Numo.
I propose to make numo ractor-safe in order to use it with ruby 3 ractors by calling rb_ractor_safe(true) in the C-code. Otherwise it is not possible to parallelise computational-expensive applications using Numo within newly introduced ractors.
Thanks