compute-runtime/unit_tests/gen9/windows/gmm_callbacks_tests_gen9.cpp

22 lines
513 B
C++

/*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/helpers/gmm_callbacks.h"
#include "test.h"
using namespace NEO;
typedef ::testing::Test Gen9GmmCallbacksTests;
GEN9TEST_F(Gen9GmmCallbacksTests, notSupportedDeviceCallback) {
EXPECT_EQ(0, DeviceCallbacks<FamilyType>::notifyAubCapture(nullptr, 0, 0, false));
}
GEN9TEST_F(Gen9GmmCallbacksTests, notSupportedTTCallback) {
EXPECT_EQ(0, TTCallbacks<FamilyType>::writeL3Address(nullptr, 1, 2));
}