diff --git a/.github/workflows/cpp_ubuntu.yml b/.github/workflows/cpp_ubuntu.yml index 706acc901..9a386ab7a 100644 --- a/.github/workflows/cpp_ubuntu.yml +++ b/.github/workflows/cpp_ubuntu.yml @@ -37,6 +37,12 @@ jobs: - name: tests run: | #only running tests that dont require GLSL compilation - ./build/test/test_kompute --gtest_filter=*Tensor* - ./build/test/test_kompute --gtest_filter=TestManager* - + ./build/test/test_kompute --gtest_filter="TestMainLogisticRegression.*" + ./build/test/test_kompute --gtest_filter="TestManager.*" + ./build/test/test_kompute --gtest_filter="TestOpAlgoBase.ShaderCompiledDataFromConstructor" + #./build/test/test_kompute --gtest_filter="TestOpAlgoBase.ShaderCompiledDataFromFile" + ./build/test/test_kompute --gtest_filter="TestOpTensorCopy.*" + ./build/test/test_kompute --gtest_filter="TestOpTensorCreate.*" + ./build/test/test_kompute --gtest_filter="TestOpTensorSync.*" + ./build/test/test_kompute --gtest_filter="TestSequence.*" + ./build/test/test_kompute --gtest_filter="TestTensor.*" diff --git a/test/TestLogisticRegression.cpp b/test/TestLogisticRegression.cpp index c360542b6..2d39438c0 100644 --- a/test/TestLogisticRegression.cpp +++ b/test/TestLogisticRegression.cpp @@ -45,7 +45,7 @@ TEST(TestLogisticRegressionAlgorithm, TestMainLogisticRegression) sq->record({ wIn, bIn }); sq->record( - params, "test/shaders/glsl/test_logistic_regression.comp"); + params, "test/shaders/glsl/test_logistic_regression.comp.spv"); sq->record({ wOutI, wOutJ, bOut, lOut }); @@ -124,7 +124,7 @@ TEST(TestLogisticRegressionAlgorithm, TestMainLogisticRegressionManualCopy) sq->begin(); sq->record( - params, "test/shaders/glsl/test_logistic_regression.comp"); + params, "test/shaders/glsl/test_logistic_regression.comp.spv"); sq->record({ wOutI, wOutJ, bOut, lOut }); diff --git a/test/shaders/glsl/test_op_custom_shader.comp b/test/shaders/glsl/test_op_custom_shader.comp index 74241d141..1e0e0d199 100644 --- a/test/shaders/glsl/test_op_custom_shader.comp +++ b/test/shaders/glsl/test_op_custom_shader.comp @@ -1,7 +1,10 @@ #version 450 + layout (local_size_x = 1) in; + layout(set = 0, binding = 0) buffer a { float pa[]; }; layout(set = 0, binding = 1) buffer b { float pb[]; }; + void main() { uint index = gl_GlobalInvocationID.x; pb[index] = pa[index];