Updated to use shader statics

This commit is contained in:
Alejandro Saucedo 2021-02-20 17:06:54 +00:00
parent 9a19e3b280
commit 2fb0641de0
10 changed files with 85 additions and 131 deletions

View file

@ -29,7 +29,7 @@ TEST(TestOpAlgoBase, ShaderRawDataFromConstructor)
)");
mgr.evalOpDefault<kp::OpAlgoBase>(
{ tensorA, tensorB }, kp::spirv_from_source(shader));
{ tensorA, tensorB }, kp::Shader::compile(shader));
mgr.evalOpDefault<kp::OpTensorSyncLocal>({ tensorA, tensorB });