Moved shader compile logic to main libary
This commit is contained in:
parent
f713b56862
commit
9a19e3b280
13 changed files with 197 additions and 91 deletions
|
|
@ -5,8 +5,6 @@
|
|||
|
||||
#include "kompute_test/shaders/shadertest_op_custom_shader.hpp"
|
||||
|
||||
#include "TestUtils.cpp"
|
||||
|
||||
TEST(TestOpAlgoBase, ShaderRawDataFromConstructor)
|
||||
{
|
||||
kp::Manager mgr;
|
||||
|
|
@ -31,7 +29,7 @@ TEST(TestOpAlgoBase, ShaderRawDataFromConstructor)
|
|||
)");
|
||||
|
||||
mgr.evalOpDefault<kp::OpAlgoBase>(
|
||||
{ tensorA, tensorB }, spirv_from_string(shader));
|
||||
{ tensorA, tensorB }, kp::spirv_from_source(shader));
|
||||
|
||||
mgr.evalOpDefault<kp::OpTensorSyncLocal>({ tensorA, tensorB });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue