Skip to content

Commit

Permalink
fixing linking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogumil-Sapinski-Mobica committed Jun 29, 2023
1 parent 99ed1e3 commit 47765a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_openclhpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1332,9 +1332,11 @@ static cl_mem clCreateBufferWithProperties_testBufferWithProperties(

return make_mem(0);
}
#endif //CL_HPP_TARGET_OPENCL_VERSION >= 300

void testBufferWithProperties(void)
{
#if CL_HPP_TARGET_OPENCL_VERSION >= 300
clCreateBufferWithProperties_StubWithCallback(clCreateBufferWithProperties_testBufferWithProperties);

VECTOR_CLASS<cl_mem_properties> props{11};
Expand All @@ -1346,8 +1348,8 @@ void testBufferWithProperties(void)

// prevent destructor from interfering with the test
buffer() = nullptr;
}
#endif //CL_HPP_TARGET_OPENCL_VERSION >= 300
}

/****************************************************************************
* Tests for cl::Image1DBuffer
Expand Down

0 comments on commit 47765a4

Please sign in to comment.