Posts

Post not yet marked as solved
0 Replies
217 Views
Hi, we're profiling our iOS app with XCode13. We found there are cache miss counters like L1D_CACHE_MISS_LD and L1D_CACHE_MISS_ST. However, we couldn't find a counter related to L1 data cache access. Therefore, we couldn't calculate the cache miss rate. But we found there is a L1D_TLB_ACCESS counter. Can we assume that every TLB access will lead to a data cache access, so we can use L1D_TLB_ACCESS as L1 data cache access?
Posted
by Kai Zhang.
Last updated
.
Post not yet marked as solved
2 Replies
862 Views
Hi,I have been working on getting occlusion query working on iOS Metal. My question is what's the data type of visibility result?The documentation says In MTLVisibilityResultModeBoolean mode when a sample passes, the device writes a nonzero value to the buffer. If no samples pass, the device writes zero.However, it doesn't say what's the exact data type of the result, I googled and found a StackOverflow question about this: https://stackoverflow.com/questions/40980889/metal-on-macos-visibility-testing-behaving-incorrectly but they could only guess the data type by the offset parameter.So, what's the correct data type of the result? Where can I find documentation about this?Thanks.
Posted
by Kai Zhang.
Last updated
.