-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Implement iMultiFab
#410
Implement iMultiFab
#410
Conversation
|
||
# assign 3: loop through boxes and launch kernels | ||
for mfi in imfab_device: | ||
bx = mfi.tilebox().grow(ngv) # noqa |
Check notice
Code scanning / CodeQL
Unused local variable Note test
# assign 3 | ||
with cupyx.profiler.time_range("assign 3 [()]", color_id=0): | ||
for mfi in imfab_device: | ||
bx = mfi.tilebox().grow(ngv) # noqa |
Check warning
Code scanning / CodeQL
Variable defined multiple times Warning test
redefined
This assignment to 'bx' is unnecessary as it is
redefined
return mm | ||
|
||
for mfi in imfab_device: | ||
bx = mfi.tilebox().grow(ngv) # noqa |
Check warning
Code scanning / CodeQL
Variable defined multiple times Warning test
redefined
x[...] = 7 | ||
|
||
for mfi in imfab_device: | ||
bx = mfi.tilebox().grow(ngv) # noqa |
Check notice
Code scanning / CodeQL
Unused local variable Note test
Generalize the
MultiFab
logic and reuse as much as possible for theiMultiFab
bindings.