Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support customizing memory access (load/store) #523

Closed
bernhardmgruber opened this issue Jun 9, 2022 · 1 comment · Fixed by #579
Closed

Support customizing memory access (load/store) #523

bernhardmgruber opened this issue Jun 9, 2022 · 1 comment · Fixed by #579

Comments

@bernhardmgruber
Copy link
Member

So far LLAMA mostly concerns itself with data layout. The various mappings translate index information into memory references (native or proxy). These references are then passed to usercode where the actual memory access happens, that is, where an actual load or store is performed.

In order to abstract across hardware devices, the load and store as well as corresponding instructions to use should be, optionally, governed by LLAMA.

@bernhardmgruber
Copy link
Member Author

An example frequently brought up is making load and store atomic. Another is using cache bypassing instructions.

bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Sep 24, 2022
* Add a new template parameter to View
* Add a new DefaultAccessor, which just passes through the reference

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Sep 24, 2022
* Add a new template parameter to View
* Add a new DefaultAccessor, which just passes through the reference

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Oct 1, 2022
* Add a new template parameter to View
* Add a new DefaultAccessor, which just passes through the reference

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Oct 31, 2022
* Add a new template parameter to View
* Add a new DefaultAccessor, which just passes through the reference

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Oct 31, 2022
* Add a new template parameter to View
* Add a new DefaultAccessor, which just passes through the reference

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Oct 31, 2022
* Add a new template parameter to View
* Add a new DefaultAccessor, which just passes through the reference

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Nov 2, 2022
* Add a new template parameter to View
* Add a new DefaultAccessor, which just passes through the reference

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Nov 2, 2022
* Add a new template parameter to View
* Add a new DefaultAccessor, which just passes through the reference

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Nov 2, 2022
* Add a new template parameter to View
* Add a new DefaultAccessor, which just passes through the reference

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Nov 3, 2022
* Add a new template parameter to View
* Add a new DefaultAccessor, which just passes through the reference

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Nov 3, 2022
* Add a new template parameter to View
* Add a new DefaultAccessor, which just passes through the reference

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Nov 4, 2022
* Add a new template parameter to View
* Add a new DefaultAccessor, which just passes through the reference

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Nov 4, 2022
* Add a new template parameter to View
* Add a few new accessors (Default, ReadOnlyByValue, Const, Restrict,
  Atomic)

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Nov 4, 2022
* Add a new template parameter to View
* Add a few new accessors (Default, ReadOnlyByValue, Const, Restrict,
  Atomic)

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Nov 7, 2022
* Add a new template parameter to View
* Add a few new accessors (Default, ReadOnlyByValue, Const, Restrict,
  Atomic)

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Nov 7, 2022
* Add a new template parameter to View
* Add a few new accessors (Default, ReadOnlyByValue, Const, Restrict,
  Atomic)

Fixes: alpaka-group#523
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Nov 7, 2022
* Add a new template parameter to View
* Add a few new accessors (Default, ReadOnlyByValue, Const, Restrict,
  Atomic)

Fixes: alpaka-group#523
bernhardmgruber added a commit that referenced this issue Nov 7, 2022
* Add a new template parameter to View
* Add a few new accessors (Default, ReadOnlyByValue, Const, Restrict,
  Atomic)

Fixes: #523
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant