MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / assert_cuda_ok

Function assert_cuda_ok

tests/test_expanded_tensor_ops.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17static void assert_cuda_ok(const char* step) {
18 cudaError_t err = sync_and_check();
19 ASSERT_EQ(err, cudaSuccess) << step << ": " << cudaGetErrorString(err);
20}
21
22class ExpandedTensorOpsTest : public ::testing::Test {
23protected:

Callers 1

TEST_FFunction · 0.85

Calls 1

sync_and_checkFunction · 0.70

Tested by

no test coverage detected