Moved shader compile logic to main libary

This commit is contained in:
Alejandro Saucedo 2021-02-20 16:48:56 +00:00
parent f713b56862
commit 9a19e3b280
13 changed files with 197 additions and 91 deletions

View file

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