[libc-commits] [PATCH] D153388: [libc] Add basic utility support for timing functions on the GPU

Matt Arsenault via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jun 20 18:55:43 PDT 2023


arsenm added inline comments.


================
Comment at: libc/src/__support/GPU/amdgpu/utils.h:158
+#else
+  return __builtin_amdgcn_s_memrealtime();
+#endif
----------------
Does __has_builtin cover subtarget feature restrictions?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153388/new/

https://reviews.llvm.org/D153388



More information about the libc-commits mailing list