Implement rocshmem_g
API and optimize memory usage
#31
+1
−102
rocshmem_g
API and optimize memory usage
#31