Skip to content

Commit

Permalink
fixed gradient_z test
Browse files Browse the repository at this point in the history
  • Loading branch information
pr4deepr committed Nov 24, 2022
1 parent 6cf0c4f commit f0a75cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gradient_z_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ auto
run_test(const std::array<size_t, 3> & shape, const cle::MemoryType & mem_type) -> bool
{
std::vector<type> input = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
std::vector<type> valid = { 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 };
std::vector<type> valid = { 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0 };

cle::Clesperanto cle;
cle.GetDevice()->WaitForKernelToFinish();
Expand Down

0 comments on commit f0a75cc

Please sign in to comment.