Commit 312c581b authored by Po-Yen, Chen's avatar Po-Yen, Chen
Browse files

Merge branch 'feature/fix-descriptor-attr-not-copied' into...

Merge branch 'feature/fix-descriptor-attr-not-copied' into feature/simplify-karg-for-device-gemm-xdl
parents 3e738e26 ce20fe06
...@@ -383,6 +383,8 @@ template <typename UpLengths, ...@@ -383,6 +383,8 @@ template <typename UpLengths,
typename enable_if<UpLengths::Size() == Coefficients::Size(), bool>::type = false> typename enable_if<UpLengths::Size() == Coefficients::Size(), bool>::type = false>
struct Embed struct Embed
{ {
static_assert(!std::is_reference_v<UpLengths> && !std::is_reference_v<Coefficients>);
static constexpr index_t NDimUp = UpLengths::Size(); static constexpr index_t NDimUp = UpLengths::Size();
using LowerIndex = MultiIndex<1>; using LowerIndex = MultiIndex<1>;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment