We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab3f61a commit e31ff53Copy full SHA for e31ff53
sycl/test-e2e/DeviceLib/built-ins/offload-prec-div-sqrt.cpp
@@ -29,6 +29,9 @@ void test_div() {
29
int ulpDist = std::abs(sycl::bit_cast<int32_t>(hostRef) -
30
sycl::bit_cast<int32_t>(*output));
31
assert(ulpDist == 0 && "Division is not precise");
32
+ sycl::free(inValue, q);
33
+ sycl::free(inDivider, q);
34
+ sycl::free(output, q);
35
}
36
37
void test_sqrt() {
@@ -47,6 +50,8 @@ void test_sqrt() {
47
50
48
51
49
52
assert(ulpDist == 0 && "Sqrt is not precise");
53
54
55
56
57
int main() {
0 commit comments