25 lines
383 B
C++
25 lines
383 B
C++
/*
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "CL/cl.h"
|
|
|
|
namespace OCLRT {
|
|
class MockContext;
|
|
|
|
class ContextFixture {
|
|
public:
|
|
ContextFixture();
|
|
|
|
protected:
|
|
virtual void SetUp(cl_uint numDevices, cl_device_id *pDeviceList);
|
|
virtual void TearDown();
|
|
|
|
MockContext *pContext;
|
|
};
|
|
} // namespace OCLRT
|