We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f097808 commit ebe6e69Copy full SHA for ebe6e69
bin/patches/openlibm.patch
@@ -474,7 +474,7 @@ diff -Naur -x .git openlibm.0.7.2/test/Makefile openlibm/test/Makefile
474
+# Clang offloading has header overlays for math.h to define device variants of math functions.
475
+# It does not have an overlay for openlibm headers, so we must use system defines.
476
+AOMP ?= /usr/lib/aomp
477
-+_gpu = $(shell $(AOMP)/bin/mygpu -d gfx900)
++_gpu = $(shell $(AOMP)/bin/offload-arch)
478
+ifeq (sm_,$(findstring sm_,$(_gpu)))
479
+ _gputriple = nvptx64-nvidia-cuda
480
+else
0 commit comments