Move AQLPacket::~AQLPacket to aql_packet.cpp (#137)
- this was defined in queue.cpp
[ROCm/rocprofiler-sdk commit: dcc82f97ac]
Этот коммит содержится в:
1 родитель
925d1ba1b5
Коммит
0426c45886
3 files changed
+52
-22
No files matched your search
@@ -245,27 +245,6 @@ WriteInterceptor(const void* packets,
|
||||
}
|
||||
} // namespace
|
||||
|
||||
AQLPacket::~AQLPacket()
|
||||
{
|
||||
if(!command_buf_mallocd)
|
||||
{
|
||||
free_func(profile.command_buffer.ptr);
|
||||
}
|
||||
else
|
||||
{
|
||||
free(profile.command_buffer.ptr);
|
||||
}
|
||||
|
||||
if(!output_buffer_malloced)
|
||||
{
|
||||
free_func(profile.output_buffer.ptr);
|
||||
}
|
||||
else
|
||||
{
|
||||
free(profile.output_buffer.ptr);
|
||||
}
|
||||
}
|
||||
|
||||
Queue::~Queue()
|
||||
{
|
||||
// Potentially replace with condition variable at some point
|
||||
|
||||
Reference in new issue
Block a user