Skip to content

Commit

Permalink
Fix clang compile issues
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Dec 20, 2023
1 parent 7c6044a commit ed055fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ttg/ttg/device/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ namespace ttg::device {

template<ttg::ExecutionSpace Space = ttg::ExecutionSpace::Invalid>
inline const void* current_stream() {
static_assert(ttg::ExecutionSpace Space != ttg::ExecutionSpace::Invalid,
static_assert(Space != ttg::ExecutionSpace::Invalid,
"TTG was built without any known device support so we cannot provide a current stream!");
return nullptr;
}
Expand Down
4 changes: 3 additions & 1 deletion ttg/ttg/device/task.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ namespace ttg::device {
throw; // fwd
}

void return_void() {}

};

template<typename Key, typename Value, ttg::Runtime Runtime = ttg::ttg_runtime>
Expand Down Expand Up @@ -635,4 +637,4 @@ namespace ttg::device {

} // namespace ttg::devie

#endif // TTG_DEVICE_TASK_H
#endif // TTG_DEVICE_TASK_H

0 comments on commit ed055fb

Please sign in to comment.