Skip to content

Commit

Permalink
remove unnecessary __host__ __device__
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikeyann committed Sep 19, 2022
1 parent d3725a8 commit 2f34d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/tests/io/json_tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ std::string get_node_string(std::size_t const node_id,
cuio_json::tree_meta_t2 const& tree_rep,
std::string const& json_input)
{
auto node_to_str = [] __host__ __device__(cuio_json::PdaTokenT const token) {
auto node_to_str = [](cuio_json::PdaTokenT const token) {
switch (token) {
case cuio_json::NC_STRUCT: return "STRUCT";
case cuio_json::NC_LIST: return "LIST";
Expand Down

0 comments on commit 2f34d3a

Please sign in to comment.