mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

remove dead store initialize default values in class definition Change-Id: I39abef12104a80df13ace0fb127c4ee24e00b184 Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
28 lines
471 B
C++
28 lines
471 B
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "opencl/source/command_queue/command_queue.h"
|
|
|
|
#include <cstdint>
|
|
|
|
namespace NEO {
|
|
|
|
struct CommandStreamFixture {
|
|
void SetUp(CommandQueue *pCmdQ) {
|
|
pCS = &pCmdQ->getCS(1024);
|
|
pCmdBuffer = pCS->getCpuBase();
|
|
}
|
|
|
|
virtual void TearDown() {
|
|
}
|
|
|
|
LinearStream *pCS = nullptr;
|
|
void *pCmdBuffer = nullptr;
|
|
};
|
|
} // namespace NEO
|