Skip to content

Commit 8dd7ee0

Browse files
committed
cleaned up unnecessary lines
Signed-off-by: Byoungro So <[email protected]>
1 parent d311565 commit 8dd7ee0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sycl/test/regression/usm_malloc_shared.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

7-
//==-------------- usm_free.cpp - SYCL USM free malloc_shared and free test
8-
//-------------==//
9-
//
107
// This test checks if users will successfully allocate 160, 0, and -16 bytes of
118
// shared memory, and also test user can call free() without worrying about
129
// nullptr or invalid memory descriptor returned from malloc.
13-
//==-------------------------------------------------------------------------------------==//
1410

1511
#include <CL/sycl.hpp>
1612
#include <iostream>
@@ -41,7 +37,7 @@ int main(int argc, char *argv[]) {
4137
std::cout << "ia : " << ia << " ja: " << ja << " result : " << result
4238
<< std::endl;
4339

44-
// followings should not throws CL_INVALID_VALUE
40+
// followings should not throw CL_INVALID_VALUE
4541
cl::sycl::free(ia, myQueue);
4642
cl::sycl::free(nullptr, myQueue);
4743
cl::sycl::free(ja, myQueue);

0 commit comments

Comments
 (0)