From 33264f737dadf6a8b9638058d250c7fc6d3741e1 Mon Sep 17 00:00:00 2001 From: Jakub Chlanda Date: Thu, 3 Mar 2022 10:26:22 +0000 Subject: [PATCH] [SYCL] Werror and header include fix --- sycl/plugins/cuda/pi_cuda.cpp | 2 +- sycl/plugins/cuda/pi_cuda.hpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sycl/plugins/cuda/pi_cuda.cpp b/sycl/plugins/cuda/pi_cuda.cpp index 4fe76f49881c0..cf5f5abd0e9f2 100644 --- a/sycl/plugins/cuda/pi_cuda.cpp +++ b/sycl/plugins/cuda/pi_cuda.cpp @@ -576,7 +576,7 @@ pi_result _pi_program::build_program(const char *build_options) { /// query to PI and use cuModuleGetFunction to check for a kernel. /// Note: Another alternative is to add kernel names as metadata, like with /// reqd_work_group_size. -std::string getKernelNames(pi_program program) { +std::string getKernelNames(pi_program) { cl::sycl::detail::pi::die("getKernelNames not implemented"); return {}; } diff --git a/sycl/plugins/cuda/pi_cuda.hpp b/sycl/plugins/cuda/pi_cuda.hpp index aa8c8945265a2..0d10142caf073 100644 --- a/sycl/plugins/cuda/pi_cuda.hpp +++ b/sycl/plugins/cuda/pi_cuda.hpp @@ -24,13 +24,14 @@ #include #include #include +#include #include +#include #include #include #include +#include #include -#include -#include extern "C" {