Add GPUBackend

This commit is contained in:
Bram Veenboer
2025-08-01 14:20:32 +00:00
parent 404fbd3c02
commit b7c13be6c0
17 changed files with 233 additions and 11 deletions

10
tests/test_gpu.cpp Normal file
View File

@@ -0,0 +1,10 @@
#include <catch2/catch_test_macros.hpp>
#include <trigdx/gpu.hpp>
#include "test_utils.hpp"
TEST_CASE("sinf") { test_sinf<GPUBackend>(1e-1f); }
TEST_CASE("cosf") { test_cosf<GPUBackend>(1e-1f); }
TEST_CASE("sincosf") { test_sincosf<GPUBackend>(1e-1f); }