Files
compute-runtime/opencl/test/unit_test/test_macros/test_checks.cpp
Filip Hazubski 214585eb1b Add REQUIRE_SVM_OR_SKIP helper macro for tests
Change-Id: I07fbde14a0d3be801087561b8460b15b857c3f2e
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-01 15:59:18 +02:00

17 lines
325 B
C++

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "opencl/test/unit_test/test_macros/test_checks.h"
#include "opencl/source/cl_device/cl_device.h"
using namespace NEO;
bool TestChecks::supportsSvm(const ClDevice *pClDevice) {
return supportsSvm(&pClDevice->getDevice());
}