Skip to content

Commit

Permalink
remove spaces and repair delete operator call
Browse files Browse the repository at this point in the history
  • Loading branch information
pwisniewskimobica committed Jul 7, 2023
1 parent 282f4fb commit cfbf016
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_openclhpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4214,11 +4214,10 @@ void clSVMFree_stubForMemoryAllocation(cl_context context, void *svm_pointer,
int cmock_num_calls)
{
TEST_ASSERT_EQUAL_PTR(svm_pointer, testMemory);
delete (int*) svm_pointer;
delete[] (int*) svm_pointer;
}
void testSVMMemoryAllocation()
{//

{
#if CL_HPP_TARGET_OPENCL_VERSION >= 200
cl::SVMAllocator<int, cl::SVMTraitCoarse<>> svmAllocator;

Expand Down

0 comments on commit cfbf016

Please sign in to comment.