[Openmp-commits] [PATCH] D102230: [libomptarget][amdgpu][nfc] Expand errorcheck macros

Pushpinder Singh via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue May 11 23:55:46 PDT 2021


pdhaliwal added inline comments.


================
Comment at: openmp/libomptarget/plugins/amdgpu/impl/data.cpp:52-54
+    printf("[%s:%d] %s failed: %s\n", __FILE__, __LINE__, "atmi_malloc",
+           get_error_string(err));
+    exit(1);
----------------
Will it be better to use assert's here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102230



More information about the Openmp-commits mailing list