Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various build errors #1152

Merged
merged 6 commits into from
Jan 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix build
  • Loading branch information
hcho3 committed Jan 18, 2023
commit dfffe6117b367d7051c5d9521831630caecc54b3
3 changes: 2 additions & 1 deletion cpp/include/raft/matrix/detail/linewise_op.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,8 @@ struct MatrixLinewiseOp {
"layout for in and out must be either padded row or col major");

// also statically assert padded matrix alignment == 2^i*VecBytes
RAFT_EXPECTS(raft::Pow2<VecBytes>::areSameAlignOffsets(in.data_handle(), out.data_handle()));
RAFT_EXPECTS(raft::Pow2<VecBytes>::areSameAlignOffsets(in.data_handle(), out.data_handle()),
"The matrix views in and out does not have correct alignment");

if (alongLines)
return matrixLinewiseVecRowsSpan<Type,
Expand Down