You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My shared memory allocations seems to be failing in this case on GPUs for parallel_reduce.
I set the shared memory size to:
size_t team_shmem_size (int team_size) const {
return 16384;
}
Then I try to allocate:
char *all_shared_memory = (char *) (teamMember.team_shmem().get_shmem(16384));
This is working for parallel_for, but when I use parallel_reduce, my allocation appears to be null. I am not sure if it is really related to vector size, since it also fails when vector_size = 1 as well.
Allow arbitrary team sizes and vector_length > 1 for reductions using TeamPolicy.
The text was updated successfully, but these errors were encountered: