My 'can access' simply means that I'm able to access the values in the
variable in python by typing x1 or x2. My understanding is that if the
variables are stored on different GPUs, then I should be able to type x1
and get its values when ctx1 is active and similarly, I can type x2 and get
the x2 values when ctx2 is active, not when ctx1 is active.
On 24 May 2018 at 18:56, Andreas Kloeckner <lists(a)informa.tiker.net> wrote:
Zhangsheng Lai <dunno.noe(a)gmail.com> writes:
with the setup above, I tried to check by poping
ctx2 and pushing ctx1,
I access x1 and not x2 and vice versa, popping
ctx1 and pushing ctx2, I
access x2 and not x1. However, I realise that I
can access x1 and x2 in
Can you clarify what you mean by 'can access'? I'm guessing 'submit
kernel launches with that pointer as an argument'?