You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But for our Kokkos users, the more pressing usecase is calling python-based ML models from large c++ codes running in high performance computing environments.
Would you agree, that for the usecase of converting a mdspan via dlpack for passing data from c++ to python, the mutability should be in agreement with the const-ness of the producer? Meaning if c++ manages the memory and the mdspan is non-const, it should be a mutable dlpack? This is with the assumption that the c++ and python are in sequential order.
For potentially using mdspan in implementations in e.g. interpolate in scipy, the semantics that dlpack spells out in https://dmlc.github.io/dlpack/latest/python_spec.html#semantics are definitely the way to go.
Activity