[libc-commits] [PATCH] D152283: [libc] Export GPU extensions to `libc` for external use

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jun 6 23:26:50 PDT 2023


sivachandra added inline comments.


================
Comment at: libc/spec/gpu_ext.td:18
+          EnumeratedNameValue<"TEST_STREAM", "9">,
+    ], 
+    [
----------------
This is good if you want to add  type less enumerations. You will also have to add the list in `api.td` like this: https://github.com/llvm/llvm-project/blob/main/libc/config/linux/api.td#L149.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152283



More information about the libc-commits mailing list