Skip to content

Commit

Permalink
Update memory slide
Browse files Browse the repository at this point in the history
  • Loading branch information
hokkanen committed Jun 4, 2024
1 parent 82b39f7 commit 2fd7569
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions gpu-hip/docs/03-memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ int main() {
- Through prefetches
- Through hints
- Must still obey concurrency & coherency rules, not foolproof
- The performance on the AMD cards is an open question
- Easier to overlook optimization possibilities


Expand Down Expand Up @@ -238,14 +237,6 @@ int main() {
- treat memory allocation and free as asynchronous operations
- use memory pool (i.e. subsequent alloc/frees are less expensive)

# Virtual Memory Management

- Experimental feature
- Allows to reallocate, i.e. change the size of the allocated memory without paying
free and allocation cost

- Reference: [https://docs.amd.com/bundle/HIP-API-Guide-v5.2/page/group___virtual.html](https://docs.amd.com/bundle/HIP-API-Guide-v5.2/page/group___virtual.html)

# Global memory access in device code

- Global memory access from the device is slow
Expand Down

0 comments on commit 2fd7569

Please sign in to comment.