mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Related-To: NEO-2236 Change-Id: Iebd108ac6504da98c01c01a4ddb513e3b9c4e57a Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
23 lines
377 B
C++
23 lines
377 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "cl_api_tests.h"
|
|
|
|
using namespace NEO;
|
|
|
|
typedef api_tests clSVMFreeTests;
|
|
|
|
namespace ULT {
|
|
|
|
TEST_F(clSVMFreeTests, GivenNullPtrWhenFreeingSvmThenNoAction) {
|
|
clSVMFree(
|
|
nullptr, // cl_context context
|
|
nullptr // void *svm_pointer
|
|
);
|
|
}
|
|
} // namespace ULT
|