-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
#include <special_ops.h> | ||
|
||
namespace quda { | ||
|
||
// SpecialOps | ||
template <typename ...T> | ||
struct SpecialOps : SpecialOps_Base<T...> { | ||
template <typename ...U> constexpr void setSpecialOps(const SpecialOps<U...> &ops) { | ||
static_assert(std::is_same_v<SpecialOps<T...>,SpecialOps<U...>>); | ||
} | ||
}; | ||
|
||
// op implementations | ||
struct op_blockSync : op_BaseT<void> { | ||
//using dependencies = depFullBlock; | ||
template <typename ...Arg> | ||
static constexpr unsigned int shared_mem_size(dim3 block, Arg &...arg) { return 0; } | ||
}; | ||
|
||
template <typename T> | ||
struct op_warp_combine : op_BaseT<T> { | ||
//using dependencies = depNone; | ||
//using dependencies = depFullBlock; | ||
template <typename ...Arg> | ||
static constexpr unsigned int shared_mem_size(dim3, Arg &...arg) { return 0; } | ||
}; | ||
|
||
} |