From ce4d3cd28f4b90c0eb638cc2565d3dbaf4cb2a70 Mon Sep 17 00:00:00 2001 From: Victor Perez Date: Thu, 7 Mar 2024 11:39:05 +0000 Subject: [PATCH] Drop host definition of `private_alloca` --- clang/test/CodeGenSYCL/Inputs/private_alloca.hpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/clang/test/CodeGenSYCL/Inputs/private_alloca.hpp b/clang/test/CodeGenSYCL/Inputs/private_alloca.hpp index 49e4b7cd65538..94eb6c007a01d 100644 --- a/clang/test/CodeGenSYCL/Inputs/private_alloca.hpp +++ b/clang/test/CodeGenSYCL/Inputs/private_alloca.hpp @@ -8,24 +8,11 @@ namespace ext { namespace oneapi { namespace experimental { -#ifdef __SYCL_DEVICE_ONLY__ - template __SYCL_BUILTIN_ALIAS(__builtin_intel_sycl_alloca) multi_ptr private_alloca(kernel_handler &h); -#else - -template -multi_ptr -private_alloca(kernel_handler &h) { - throw "sycl::ext::oneapi::experimental::private_alloca is not supported in " - "the host"; -} - -#endif - } // namespace experimental } // namesapce oneapi } // namespace ext