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
vikunja does not care about memory pitches. Therefore multi dimensional memory is only working, if the pitch is 0. The API also does not support setting the pitch.
API design ideas
The API should still support pointers, because pointers are universal. But a memory pointer needs a lot of extra information: number of dimension, size of each dimension and pitches. Therefore at least 3 arguments are required for one bunch of memory. Maybe it could wrapped up in a (alpaka) view. The API should also support the direct usage of alpaka buffers, to make it easier.
The text was updated successfully, but these errors were encountered:
vikunja does not care about memory pitches. Therefore multi dimensional memory is only working, if the pitch is 0. The API also does not support setting the pitch.
API design ideas
The API should still support pointers, because pointers are universal. But a memory pointer needs a lot of extra information: number of dimension, size of each dimension and pitches. Therefore at least 3 arguments are required for one bunch of memory. Maybe it could wrapped up in a (alpaka) view. The API should also support the direct usage of alpaka buffers, to make it easier.
The text was updated successfully, but these errors were encountered: