forked from GPUOpen-Tools/gpu_performance_api
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGPACounterSchedulerVK.h
29 lines (23 loc) · 1.01 KB
/
GPACounterSchedulerVK.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//==============================================================================
// Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved.
/// \author AMD Developer Tools Team
/// \file
/// \brief Class for counter scheduling for VK
//==============================================================================
#ifndef _GPA_COUNTER_SCHEDULER_VK_H_
#define _GPA_COUNTER_SCHEDULER_VK_H_
#include "GPACounterSchedulerBase.h"
/// Class for counter scheduling for VK
class GPA_CounterSchedulerVK : public GPA_CounterSchedulerBase
{
public:
/// Constructor
GPA_CounterSchedulerVK();
protected:
/// For Vulkan, the preferred splitting algorithm is the consolidated one.
/// This keeps the overall number of passes down to a reasonable number, but splits the counters up
/// in a manner that allows them to be more consistent.
/// \return The splitting algorithm to use.
virtual GPACounterSplitterAlgorithm GetPreferredSplittingAlgorithm() const;
};
#endif // _GPA_COUNTER_SCHEDULER_VK_H_