View<>::shmem_size should runtime check for number of arguments equal to rank #176
Labels
Enhancement
Improve existing capability; will potentially require voting
Milestone
The shmem_size function should do a runtime check that the number of dimension arguments provided matches the rank of the view. This would catch user errors, which can lead to segfaults. An example is if you want a 3D shared view but forget one "*" in the shmem_size call, your third argument is silently ignored and later the code can segfault.
The text was updated successfully, but these errors were encountered: