We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8343a28 commit 9f2c6a4Copy full SHA for 9f2c6a4
oshmem/mca/memheap/base/memheap_base_alloc.c
@@ -70,7 +70,7 @@ int mca_memheap_alloc_with_hint(size_t size, long hint, void** ptr)
70
71
for (i = 0; i < mca_memheap_base_map.n_segments; i++) {
72
map_segment_t *s = &mca_memheap_base_map.mem_segs[i];
73
- if (s->allocator && (hint && s->alloc_hints)) {
+ if (s->allocator && (hint & s->alloc_hints)) {
74
/* Do not fall back to default allocator since it will break the
75
* symmetry between PEs
76
*/
0 commit comments