aboutsummaryrefslogtreecommitdiff
path: root/libsycl/src/platform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsycl/src/platform.cpp')
-rw-r--r--libsycl/src/platform.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/libsycl/src/platform.cpp b/libsycl/src/platform.cpp
new file mode 100644
index 0000000..b5d6517
--- /dev/null
+++ b/libsycl/src/platform.cpp
@@ -0,0 +1,17 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include <sycl/__impl/platform.hpp>
+
+#include <stdexcept>
+
+_LIBSYCL_BEGIN_NAMESPACE_SYCL
+
+platform::platform() { throw std::runtime_error("Unimplemented"); }
+
+_LIBSYCL_END_NAMESPACE_SYCL