About assigning of arena's to a GPU based MF and CPU based MF respectively. #4726
chaitanya2596
started this conversation in
General
Replies: 1 comment
-
|
The_Arena() is GPU device or managed memory and it may be an alias to The_Device_Arena(). https://amrex-codes.github.io/amrex/docs_html/GPU.html#memory-allocation You can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to have a couple of multifabs, in such a way that one of them is allocated on the CPU while the other is allocated on the GPU.
Below is the code which was written,
#######################################################
#######################################################
But this outputs after assignment that both the arena's are at the same Loc
Arena addresses: The_Arena=0x8d07c80 The_Device_Arena=0x8d07c80
What is that I'm missing here.
Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions