File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ namespace quda {
195195#define PUSH_RANGE (name,cid ) { \
196196 int color_id = cid; \
197197 color_id = color_id%nvtx_num_colors;\
198- nvtxEventAttributes_t eventAttrib = {0 }; \
198+ nvtxEventAttributes_t eventAttrib = {}; \
199199 eventAttrib.version = NVTX_VERSION; \
200200 eventAttrib.size = NVTX_EVENT_ATTRIB_STRUCT_SIZE; \
201201 eventAttrib.colorType = NVTX_COLOR_ARGB; \
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ static const int num_colors = sizeof(colors)/sizeof(uint32_t);
3333#define PUSH_RANGE (name,cid ) { \
3434 int color_id = cid; \
3535 color_id = color_id%num_colors;\
36- nvtxEventAttributes_t eventAttrib = {0 }; \
36+ nvtxEventAttributes_t eventAttrib = {}; \
3737 eventAttrib.version = NVTX_VERSION; \
3838 eventAttrib.size = NVTX_EVENT_ATTRIB_STRUCT_SIZE; \
3939 eventAttrib.colorType = NVTX_COLOR_ARGB; \
You can’t perform that action at this time.
0 commit comments