================
@@ -807,6 +815,11 @@ else()
                        Valid backends are: serial, std_thread and libdispatch")
 endif()
 
+config_define_if(LIBCXX_ENABLE_GPU_OFFLOAD _LIBCPP_PSTL_GPU_OFFLOAD)
----------------
AntonRydahl wrote:

I have tried to restructure the CMake file as sugegsted. However, I had issues 
with making a configuration variable that could be overridden. Do you know what 
type of cache should be used in `set(LIBCXX_PSTL_BACKEND ...)` to allow users 
to override it? 

https://github.com/llvm/llvm-project/pull/66968
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to