updated tests on constants and workgroup typedefs

This commit is contained in:
Alejandro Saucedo 2021-02-14 07:30:05 +00:00
parent 9adfa34fd3
commit e481c3afac
2 changed files with 7 additions and 7 deletions

View file

@ -379,13 +379,13 @@ TEST(TestMultipleAlgoExecutions, TestAlgorithmSpecialized)
sq = mgr.sequence();
auto spec = std::vector<float>({5.0, 0.3});
auto spec = kp::Constants({5.0, 0.3});
sq->begin();
sq->record<kp::OpAlgoBase>(
{ tensorA, tensorB },
std::vector<char>(shader.begin(), shader.end()),
std::array<uint32_t, 3>(), spec);
kp::Workgroup(), spec);
sq->end();
sq->eval();