GROUPMEMORYBARRIER(3G)

πŸ“¦
version 1.0~svn33624 Β· 4 versions
, in ubuntu jammy, ubuntu noble

✨ NAME ✨

groupMemoryBarrier β€” bestie, this one controls the ordering of memory transactions issued by a shader invocation relative to the rest of its work group πŸ’–


πŸŽ€ DECLARATION πŸŽ€

void groupMemoryBarrier(void);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: groupMemoryBarrier waits on the completion of all memory accesses that one invocation of a compute shader did β€” but only relative to the same access done by the other invocations chilling in the same work group. and then? it just returns. no other effect. that's it, that's the whole thing, it's giving "one job and it ate" πŸ’…


🌈 VERSION SUPPORT 🌈

like, is groupMemoryBarrier even available in your GLSL version? let's check, bestie πŸ‘‘

  • 1.10 β€” nope πŸ’€ (-)
  • 1.20 β€” nope πŸ’€ (-)
  • 1.30 β€” nope πŸ’€ (-)
  • 1.40 β€” nope πŸ’€ (-)
  • 1.50 β€” nope πŸ’€ (-)
  • 3.30 β€” nope πŸ’€ (-)
  • 4.00 β€” nope πŸ’€ (-)
  • 4.10 β€” nope πŸ’€ (-)
  • 4.20 β€” nope πŸ’€ (-)
  • 4.30 β€” YES bestie ✨ (βœ”)
  • 4.40 β€” YES bestie ✨ (βœ”)
  • 4.50 β€” YES bestie ✨ (βœ”)
so basically it's a 4.30 and up girlie. if you're on anything earlier she simply does not exist for you, and that's not a vibe check you're gonna pass 😭

🌸 SEE ALSO 🌸

go read her sisters, they're all iconic in their own way 🫢

  • memoryBarrier()
  • memoryBarrierImage()
  • memoryBarrierBuffer()
  • memoryBarrierShared()

Copyright Β© 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.


Copyright Β© 2012-2014 Khronos Group


okay that's the whole page, you're welcome, mwah πŸ’‹ β€” this was the groupMemoryBarrier page from the 3G manual, source noted as [FIXME: source], dated 01/03/2018, and yeah it signs off as GROUPMEMORYBARRIER(3G) too. go forth and sync your work group, bestie, ily πŸ¦‹βœ¨

πŸ“¦ where this page comes from