I’m both a Julia and a CUDAnative newbie. CUDAnative is attracting me from my native numpy environment! This is probably a FAQ:
I have several arrays I want to live in Shared Memory. (They are constant throughout my computation, if that happens to matter.) I have found the @cuStaticSharedMem macro, and tried to initialize it on the host in (what to me is) the obvious way:
d_bc1d = @cuStaticSharedMem(Float32,size(bound_coords_1d)) d_bc1d .= bound_coords_1d
This causes the IJulia kernel to die, when executed from a Jupyter notebook.
What is the proper idiom for accomplishing this task?
Many thanks in advance for any help!!!