coding style formatting

[ROCm/rocprofiler commit: cb3a591826]
Esse commit está contido em:
Evgeny
2017-11-29 13:53:12 -06:00
commit 8b5a6b7fed
31 arquivos alterados com 734 adições e 702 exclusões
+5 -7
Ver Arquivo
@@ -9,7 +9,7 @@
namespace rocprofiler {
class HsaQueue : public Queue {
public:
public:
typedef void (HsaQueue::*submit_fptr_t)(const packet_t* packet);
enum {
LEGACY_SLOT_SIZE_W = HSA_VEN_AMD_AQLPROFILE_LEGACY_PM4_PACKET_SIZE / sizeof(packet_word_t),
@@ -19,9 +19,7 @@ class HsaQueue : public Queue {
packet_word_t words[LEGACY_SLOT_SIZE_W];
};
HsaQueue(const util::AgentInfo* agent_info, hsa_queue_t* queue) :
queue_(queue)
{}
HsaQueue(const util::AgentInfo* agent_info, hsa_queue_t* queue) : queue_(queue) {}
void Submit(const packet_t* packet) {
// Compute the write index of queue and copy Aql packet into it
@@ -51,10 +49,10 @@ class HsaQueue : public Queue {
hsa_signal_store_relaxed(queue_->doorbell_signal, que_idx);
}
private:
private:
hsa_queue_t* queue_;
};
} // namespace rocprofiler
} // namespace rocprofiler
#endif // _SRC_CORE_HSA_QUEUE_H
#endif // _SRC_CORE_HSA_QUEUE_H