Skip to content

Commit d082057

Browse files
committed
Adjusted comment
1 parent 595f4ea commit d082057

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

source/adapters/cuda/queue.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ struct ur_queue_handle_t_ {
2929

3030
std::vector<native_type> ComputeStreams;
3131
std::vector<native_type> TransferStreams;
32-
// Stream used for recording EvQueue. It is created only if profiling is
33-
// enabled - either for the queue or per event.
32+
// Stream used for recording EvQueue, which holds information about when the
33+
// command in question is enqueued on host, as opposed to started. It is
34+
// created only if profiling is enabled - either for queue or per event.
3435
native_type HostSubmitTimeStream{0};
3536
// delay_compute_ keeps track of which streams have been recently reused and
3637
// their next use should be delayed. If a stream has been recently reused it

source/adapters/hip/queue.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ struct ur_queue_handle_t_ {
2525

2626
std::vector<native_type> ComputeStreams;
2727
std::vector<native_type> TransferStreams;
28-
// Stream used for recording EvQueue. It is created only if profiling is
29-
// enabled - either for the queue or per event.
28+
// Stream used for recording EvQueue, which holds information about when the
29+
// command in question is enqueued on host, as opposed to started. It is
30+
// created only if profiling is enabled - either for queue or per event.
3031
native_type HostSubmitTimeStream{0};
3132
// DelayCompute keeps track of which streams have been recently reused and
3233
// their next use should be delayed. If a stream has been recently reused it

0 commit comments

Comments
 (0)