Skip to content

Commit

Permalink
Update cufft_plan_cache.h
Browse files Browse the repository at this point in the history
Co-authored-by: Edward Chen <[email protected]>
  • Loading branch information
jchen351 and edgchen1 authored Jun 19, 2024
1 parent c5cdeb4 commit 74969bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onnxruntime/contrib_ops/cuda/math/cufft_plan_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ struct CufftPlanInfo {
// see https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
template <typename T>
struct ParamsHash {
// Params must be a trivial because we read out its memory
// constant as char* when hashing
// Params must be a trivial type because we read out its memory
// contents as char* when hashing

static_assert(std::is_trivial<T>::value, "Params is not a trivial type");
size_t operator()(const T& params) const {
Expand Down

0 comments on commit 74969bf

Please sign in to comment.