MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / TearDown

Method TearDown

test/ocl_ext_context.cpp:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 checkErr(errorCode, "Command queue creation failed");
80 }
81 void TearDown() override {
82 checkErr(clReleaseCommandQueue(queue), "clReleaseCommandQueue");
83 checkErr(clReleaseContext(context), "clReleaseContext");
84 checkErr(clReleaseDevice(deviceId), "clReleaseDevice");
85 }
86};
87
88TEST_F(OCLExtContext, PushAndPop) {

Callers

nothing calls this directly

Calls 1

checkErrFunction · 0.85

Tested by

no test coverage detected