File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ typedef enum {
4646
4747typedef union {
4848 struct __attribute__((__packed__ )) {
49- snrt_reduction_opcode_t reduction_opcode : SNRT_REDUCTION_OPCODE_WIDTH ;
50- snrt_collective_opcode_t collective_opcode
51- : SNRT_COLLECTIVE_OPCODE_WIDTH ;
49+ // snrt_reduction_opcode_t reduction_opcode : SNRT_REDUCTION_OPCODE_WIDTH;
50+ // snrt_collective_opcode_t collective_opcode
51+ // : SNRT_COLLECTIVE_OPCODE_WIDTH;
5252 uint64_t mask : SNRT_COLLECTIVE_MASK_WIDTH ;
5353 } f ;
5454 uint64_t w ;
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ inline void snrt_dma_set_awuser(uint64_t field) {
8585 */
8686inline void snrt_dma_enable_multicast (uint64_t mask ) {
8787 snrt_collective_op_t op ;
88- op .f .collective_opcode = SNRT_COLLECTIVE_MULTICAST ;
88+ // op.f.collective_opcode = SNRT_COLLECTIVE_MULTICAST;
8989 op .f .mask = mask ;
9090 snrt_dma_set_awuser (op .w );
9191}
@@ -101,8 +101,8 @@ inline void snrt_dma_enable_multicast(uint64_t mask) {
101101inline void snrt_dma_enable_reduction (uint64_t mask ,
102102 snrt_reduction_opcode_t opcode ) {
103103 snrt_collective_op_t op ;
104- op .f .reduction_opcode = opcode ;
105- op .f .collective_opcode = SNRT_COLLECTIVE_OFFLOAD_REDUCTION ;
104+ // op.f.reduction_opcode = opcode;
105+ // op.f.collective_opcode = SNRT_COLLECTIVE_OFFLOAD_REDUCTION;
106106 op .f .mask = mask ;
107107 snrt_dma_set_awuser (op .w );
108108}
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ inline void snrt_set_awuser(uint64_t field) {
431431 */
432432inline void snrt_enable_multicast (uint64_t mask) {
433433 snrt_collective_op_t op;
434- op.f .collective_opcode = SNRT_COLLECTIVE_MULTICAST;
434+ // op.f.collective_opcode = SNRT_COLLECTIVE_MULTICAST;
435435 op.f .mask = mask;
436436 snrt_set_awuser (op.w );
437437}
@@ -466,8 +466,8 @@ inline void snrt_enable_reduction(uint64_t mask,
466466 }
467467
468468 snrt_collective_op_t op;
469- op.f .reduction_opcode = opcode;
470- op.f .collective_opcode = coll_opcode;
469+ // op.f.reduction_opcode = opcode;
470+ // op.f.collective_opcode = coll_opcode;
471471 op.f .mask = mask;
472472 snrt_set_awuser (op.w );
473473}
You can’t perform that action at this time.
0 commit comments