Updated tests to use shaderc

This commit is contained in:
Alejandro Saucedo 2021-02-18 22:29:15 +00:00
parent 940a60958c
commit 5bc2d0dae7
5 changed files with 42 additions and 49 deletions

View file

@ -3,6 +3,8 @@
#include "kompute/Kompute.hpp"
#include "TestUtils.cpp"
TEST(TestProcessingIterations, IterateThroughMultipleSumAndCopies)
{
kp::Manager mgr;
@ -53,7 +55,7 @@ TEST(TestProcessingIterations, IterateThroughMultipleSumAndCopies)
sq->record<kp::OpAlgoBase>(
{ tensorA, tensorB },
std::vector<char>(shader.begin(), shader.end()));
spirv_from_string(shader));
sq->record<kp::OpTensorCopy>({ tensorB, tensorA });
sq->end();