mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
26 lines
452 B
C++
26 lines
452 B
C++
/*
|
|
* Copyright (C) 2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace NEO {
|
|
class LinearStream;
|
|
|
|
class LogicalStateHelper {
|
|
public:
|
|
template <typename Family>
|
|
static LogicalStateHelper *create(bool pipelinedState);
|
|
|
|
virtual ~LogicalStateHelper() = default;
|
|
|
|
virtual void writeStreamInline(LinearStream &linearStream) = 0;
|
|
|
|
protected:
|
|
LogicalStateHelper() = default;
|
|
};
|
|
|
|
} // namespace NEO
|