Skip to content

Commit

Permalink
update submod
Browse files Browse the repository at this point in the history
  • Loading branch information
shiinamiyuki committed Oct 22, 2023
1 parent d2736a6 commit d0a48ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion luisa_compute/tests/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1414,12 +1414,13 @@ fn is_nan() {
&track!(|| {
let tid = dispatch_id().x;
let x = x.read(tid) / 0.0 - x.read(tid) / 0.0;
cpu_dbg!(x);
lc_assert!(!x.is_finite());
lc_assert!(x.is_nan());
lc_assert!(!x.is_infinite());
}),
);
kernel.dispatch([1024, 1, 1]);
kernel.dispatch([1, 1, 1]);
}
// #[derive(Clone, Copy, Debug, Value, PartialEq)]
// #[repr(C)]
Expand Down

0 comments on commit d0a48ad

Please sign in to comment.