Commit 37c3bc1a authored by Alan Turner's avatar Alan Turner
Browse files

Add empty config.h to headers

parent 7d602254
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#include "ck/host/common.hpp" #include "ck/host/common.hpp"
#include "ck_headers.hpp" #include "ck_headers.hpp"
#include <stdexcept> #include <stdexcept>
#include <algorithm>
namespace ck { namespace ck {
namespace host { namespace host {
...@@ -18,9 +19,14 @@ std::string ToString(DataType dt) ...@@ -18,9 +19,14 @@ std::string ToString(DataType dt)
throw std::runtime_error("Incorrect data type"); throw std::runtime_error("Incorrect data type");
} }
const std::string config_header = "";
std::unordered_map<std::string_view, std::string_view> GetHeaders() std::unordered_map<std::string_view, std::string_view> GetHeaders()
{ {
return ck_headers(); auto headers = ck_headers();
headers.insert(
{"ck/config.h", config_header});
return headers;
} }
std::size_t integer_divide_ceil(std::size_t x, std::size_t y) std::size_t integer_divide_ceil(std::size_t x, std::size_t y)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment