Skip to content

Commit

Permalink
Update src/shim/bo.h
Browse files Browse the repository at this point in the history
Co-authored-by: Min Ma <[email protected]>
  • Loading branch information
hlaccabu and mamin506 authored Feb 3, 2025
1 parent 22c5b4d commit 54c7861
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/shim/bo.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ namespace shim_xdna {

const int LINESIZE = 64;

inline void flush_cache_line(const char *cur) {
inline void flush_cache_line(const char *cur)
{
#if defined(__x86_64__) || defined(_M_X64)
_mm_clflush(cur);
#elif defined(__aarch64__)
Expand All @@ -37,7 +38,7 @@ namespace shim_xdna {
: "memory"
);
#endif
}
}

class bo : public xrt_core::buffer_handle
{
Expand Down

0 comments on commit 54c7861

Please sign in to comment.