[Openmp-commits] [openmp] 183a1b1 - [OpenMP] Enable the 'libc/malloc.c' test on NVPTX

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Thu Sep 28 12:42:02 PDT 2023


Author: Joseph Huber
Date: 2023-09-28T14:41:35-05:00
New Revision: 183a1b1e3852e543ef93bb61f1a65bc6eb10ea1e

URL: https://github.com/llvm/llvm-project/commit/183a1b1e3852e543ef93bb61f1a65bc6eb10ea1e
DIFF: https://github.com/llvm/llvm-project/commit/183a1b1e3852e543ef93bb61f1a65bc6eb10ea1e.diff

LOG: [OpenMP] Enable the 'libc/malloc.c' test on NVPTX

Summary:
Previously this test hanged indefinitely on NVPTX. This was due to an
issue fixed previously where we would wait indefinitely inside the CUDA
runtime waiting for the kernel to complete if it was blocked on the RPC
server. This patch enables this test again now that it can run without
deadlocking, at least on CUDA 12.2.

Added: 
    

Modified: 
    openmp/libomptarget/test/libc/malloc.c

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/test/libc/malloc.c b/openmp/libomptarget/test/libc/malloc.c
index 65c2d21f2067a3d..c18a724930f41e5 100644
--- a/openmp/libomptarget/test/libc/malloc.c
+++ b/openmp/libomptarget/test/libc/malloc.c
@@ -2,10 +2,6 @@
 
 // REQUIRES: libc
 
-// TODO: This requires async malloc on CUDA which is an 11.2 feature.
-// UNSUPPORTED: nvptx64-nvidia-cuda
-// UNSUPPORTED: nvptx64-nvidia-cuda-LTO
-
 #include <stdio.h>
 #include <stdlib.h>
 


        


More information about the Openmp-commits mailing list