File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4592,9 +4592,9 @@ struct ggml_tensor * ggml_new_tensor_impl(
4592
4592
/*.op =*/ GGML_OP_NONE,
4593
4593
/*.op_params =*/ {0},
4594
4594
/*.is_param =*/ false,
4595
+ /*.visited =*/ false,
4595
4596
/*.grad =*/ NULL,
4596
4597
/*.src =*/ { NULL },
4597
- /*.visited =*/ false,
4598
4598
/*.perf_runs =*/ 0,
4599
4599
/*.perf_cycles =*/ 0,
4600
4600
/*.perf_time_us =*/ 0,
Original file line number Diff line number Diff line change @@ -422,13 +422,12 @@ extern "C" {
422
422
// op params - allocated as int32_t for alignment
423
423
int32_t op_params [GGML_MAX_OP_PARAMS / sizeof (uint32_t )];
424
424
425
- bool is_param ;
425
+ uint32_t is_param :1 ;
426
+ uint32_t visited :1 ; // used to build graphs
426
427
427
428
struct ggml_tensor * grad ;
428
429
struct ggml_tensor * src [GGML_MAX_SRC ];
429
430
430
- bool visited ; // used to build graphs
431
-
432
431
// performance
433
432
int perf_runs ;
434
433
int64_t perf_cycles ;
You can’t perform that action at this time.
0 commit comments