We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e540fd commit 29a4d18Copy full SHA for 29a4d18
CUDATools/src/profile.jl
@@ -590,12 +590,9 @@ function capture(cfg)
590
nothing
591
end
592
593
- color = if record.flags & CUPTI.CUPTI_ACTIVITY_FLAG_MARKER_COLOR_NONE == CUPTI.CUPTI_ACTIVITY_FLAG_MARKER_COLOR_NONE
594
- nothing
595
- elseif record.flags & CUPTI.CUPTI_ACTIVITY_FLAG_MARKER_COLOR_ARGB == CUPTI.CUPTI_ACTIVITY_FLAG_MARKER_COLOR_ARGB
+ color = if record.flags & CUPTI.CUPTI_ACTIVITY_FLAG_MARKER_COLOR_ARGB == CUPTI.CUPTI_ACTIVITY_FLAG_MARKER_COLOR_ARGB
596
record.color
597
else
598
- @error "Unexpected CUPTI marker color flag $(Int(record.flags)). Please file an issue."
599
600
601
0 commit comments