Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions test/acl_svm_test.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
// Copyright (C) 2014-2021 Intel Corporation
// SPDX-License-Identifier: BSD-3-Clause

#pragma warning(push, 0)
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4100) // unreferenced formal parameter
#endif
#include <CppUTest/TestHarness.h>
#pragma warning(pop);
#ifdef _MSC_VER
#pragma warning(pop)
#endif

#include <CL/opencl.h>

Expand Down
9 changes: 7 additions & 2 deletions test/acl_usm_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@
// compiling for ARM
#ifndef __arm__

#pragma warning(push, 0)
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4100) // unreferenced formal parameter
#endif
#include <CppUTest/TestHarness.h>
#pragma warning(pop);
#ifdef _MSC_VER
#pragma warning(pop)
#endif

#include <CL/opencl.h>

Expand Down