Fix -Wmissing-braces
Change-Id: I2394b6923c789f36e72242f4b196844cc0ee90ba
[ROCm/clr commit: 5577eabcea]
Этот коммит содержится в:
коммит произвёл
Matthew Arsenault
родитель
e69ff5e142
Коммит
3cae0b7649
@@ -84,10 +84,10 @@ static const uint16_t kBarrierPacketReleaseHeader =
|
||||
(HSA_FENCE_SCOPE_SYSTEM << HSA_PACKET_HEADER_RELEASE_FENCE_SCOPE);
|
||||
|
||||
static const hsa_barrier_and_packet_t kBarrierAcquirePacket = {
|
||||
kBarrierPacketAcquireHeader, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
kBarrierPacketAcquireHeader, 0, 0, {{0}}, 0, {0}};
|
||||
|
||||
static const hsa_barrier_and_packet_t kBarrierReleasePacket = {
|
||||
kBarrierPacketReleaseHeader, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
kBarrierPacketReleaseHeader, 0, 0, {{0}}, 0, {0}};
|
||||
|
||||
double Timestamp::ticksToTime_ = 0;
|
||||
|
||||
|
||||
@@ -132,8 +132,12 @@ class ActivityProf {
|
||||
record_id_, // activity correlation id
|
||||
begin_ts, // begin timestamp, ns
|
||||
end_ts, // end timestamp, ns
|
||||
static_cast<int>(device_id_), // device id
|
||||
queue_id_, // queue id
|
||||
{
|
||||
{
|
||||
static_cast<int>(device_id_), // device id
|
||||
queue_id_ // queue id
|
||||
}
|
||||
},
|
||||
bytes // copied data size, for memcpy
|
||||
};
|
||||
(CallbacksTable::get_op_callback())(op_id, &record, CallbacksTable::get_arg());
|
||||
|
||||
Ссылка в новой задаче
Block a user