forked from GPUOpen-Tools/gpu_performance_api
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCLGPACommandList.cpp
48 lines (40 loc) · 1.2 KB
/
CLGPACommandList.cpp
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//==============================================================================
// Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved.
/// \author AMD Developer Tools Team
/// \file
/// \brief CL GPA Command List Implementation
//==============================================================================
#include "CLGPACommandList.h"
CLGPACommandList::CLGPACommandList(IGPASession* pGpaSession,
GPAPass* pGpaPass,
CommandListId commandListId) :
GPACommandList(pGpaSession, pGpaPass, commandListId)
{
}
GPA_API_Type CLGPACommandList::GetAPIType() const
{
return GPA_API_OPENCL;
}
bool CLGPACommandList::BeginCommandListRequest()
{
GPA_STUB_FUNCTION;
return true;
}
bool CLGPACommandList::EndCommandListRequest()
{
GPA_STUB_FUNCTION;
return true;
}
bool CLGPACommandList::BeginSampleRequest(ClientSampleId clientSampleId,
GPASample* pGpaSample)
{
GPA_STUB_FUNCTION;
UNREFERENCED_PARAMETER(clientSampleId);
UNREFERENCED_PARAMETER(pGpaSample);
return true;
}
bool CLGPACommandList::CloseLastSampleRequest()
{
GPA_STUB_FUNCTION;
return true;
}