Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.24.0/ispcrt/detail/CommandQueue.h
2025-05-18 13:04:45 +08:00

27 lines
514 B
C++

// Copyright 2023 Intel Corporation
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
// public
#include "../ispcrt.h"
// internal
#include "CommandList.h"
#include "IntrusivePtr.h"
namespace ispcrt {
namespace base {
struct CommandQueue : public RefCounted {
CommandQueue() = default;
virtual ~CommandQueue() = default;
virtual base::CommandList *createCommandList() = 0;
virtual void sync() = 0;
virtual void *nativeHandle() const = 0;
};
} // namespace base
} // namespace ispcrt