Post

Replies

Boosts

Views

Activity

Reply to Modern Rendering with Metal (Apple Sample application), make my MacBook to crash completely, need to reboot. Any other people with the same experience ?
Hi,I have troubles running ModernRendering on my MacBook Pro.When I run on Radeon Pro 5500M, the sample shows nothing excepts lighting effects and when I capture GPU frames, the system hangs and finally get kernel panic :-(It runs pretty well on Intel Graphics 630. But I have to make some tweaks to resolve some texture loading issues.MacBook Pro 16 inch 2019, macOS 10.15.2
Jan ’20
Reply to When is a `simdgroup_barrier()` required?
I found related resources in WWDC. According to https://developer.apple.com/wwdc16/606?time=869 and https://developer.apple.com/wwdc20/10631?time=1481, they are using simdgroup_barrier() if thread group fits in a single SIMD group because threadgroup_barrier() is more expensive than simdgroup_barrier(). simdgroup size is normally 32 (afaik 64 in some AMD gpus) so I think simdgroup_barrier() can be used if thread group size is smaller than 32 or 64.
Jan ’24