@@ -149,8 +149,7 @@ static acl_system_def_t acltest_simple_system = {
149
149
150
150
// Device definitions.
151
151
1 ,
152
- {{nullptr ,
153
- 0 ,
152
+ {{0 ,
154
153
1 ,
155
154
1 ,
156
155
1 , /* half duplex memory transfers */
@@ -556,58 +555,75 @@ static acl_system_def_t acltest_complex_system = {
556
555
/* num_devices */ 5 ,
557
556
{// All of these have kernels 0 and 2 in common. This is used for
558
557
// testing clCreateKernels
559
- {nullptr ,
560
- 0 ,
558
+ {0 ,
561
559
1 ,
562
560
1 ,
563
561
1 , /* half duplex memory transfers */
564
562
1 ,
565
563
1 ,
566
564
0 , /* alloc capabilities */
567
565
0 , /* min_host_mem_alignment */
568
- {" fpga0" ,
569
- " sample40byterandomhash000000000000000000" ,
570
- 0 ,
571
- acltest_complex_system_device0_accel, /* accel */
572
- {}, /* hal_info */
573
- 1 , // number of global memory systems
574
- {
575
- /* global mem info array */
576
- {
577
- /* global mem info for memory 0 */
578
- /* global mem */ ACL_RANGE_FROM_ARRAY (acltest_global),
579
- /* acl_system_global_mem_type_t */ ACL_GLOBAL_MEM_DEVICE_PRIVATE,
580
- /* num_global_bank */ 2 ,
581
- /* burst_interleaved */ 1 ,
582
- },
583
- }}},
584
- {nullptr ,
585
- 1 ,
566
+ {
567
+ " fpga0" ,
568
+ " sample40byterandomhash000000000000000000" ,
569
+ 0 ,
570
+ acltest_complex_system_device0_accel, /* accel */
571
+ {}, /* hal_info */
572
+ 1 , // number of global memory systems
573
+ {
574
+ /* global mem info array */
575
+ {
576
+ /* global mem info for memory 0 */
577
+ /* global mem */ ACL_RANGE_FROM_ARRAY (acltest_global),
578
+ /* acl_system_global_mem_type_t */
579
+ ACL_GLOBAL_MEM_DEVICE_PRIVATE,
580
+ /* num_global_bank */ 2 ,
581
+ /* burst_interleaved */ 1 ,
582
+ },
583
+ },
584
+ {}, // hostpipe info
585
+ {
586
+ // device_global_mem_defs map
587
+ {" dev_global_name" ,
588
+ {0x1024 , 2048 , ACL_DEVICE_GLOBAL_HOST_ACCESS_TYPE_COUNT, 0 , 0 ,
589
+ 0 }},
590
+ },
591
+ }},
592
+ {1 ,
586
593
1 ,
587
594
1 ,
588
595
2 , /* full duplex memory transfers */
589
596
0 ,
590
597
0 ,
591
598
0 , /* alloc capabilities */
592
599
0 , /* min_host_mem_alignment */
593
- {" fpga1" ,
594
- " sample40byterandomhash000000000000000001" ,
595
- 0 ,
596
- acltest_complex_system_device1_accel, /* accel */
597
- {}, /* hal_info */
598
- 1 , // number of global memory systems
599
- {
600
- /* global mem info array */
601
- {
602
- /* global mem info for memory 0 */
603
- /* global mem */ ACL_RANGE_FROM_ARRAY (acltest_global),
604
- /* acl_system_global_mem_type_t */ ACL_GLOBAL_MEM_DEVICE_PRIVATE,
605
- /* num_global_bank */ 2 ,
606
- /* burst_interleaved */ 1 ,
607
- },
608
- }}},
609
- {nullptr ,
610
- 2 ,
600
+ {
601
+ " fpga1" ,
602
+ " sample40byterandomhash000000000000000001" ,
603
+ 0 ,
604
+ acltest_complex_system_device1_accel, /* accel */
605
+ {}, /* hal_info */
606
+ 1 , // number of global memory systems
607
+ {
608
+ /* global mem info array */
609
+ {
610
+ /* global mem info for memory 0 */
611
+ /* global mem */ ACL_RANGE_FROM_ARRAY (acltest_global),
612
+ /* acl_system_global_mem_type_t */
613
+ ACL_GLOBAL_MEM_DEVICE_PRIVATE,
614
+ /* num_global_bank */ 2 ,
615
+ /* burst_interleaved */ 1 ,
616
+ },
617
+ },
618
+ {}, // hostpipe info
619
+ {
620
+ // device_global_mem_defs map
621
+ {" dev_global_name" ,
622
+ {0x1024 , 2048 , ACL_DEVICE_GLOBAL_HOST_ACCESS_TYPE_COUNT, 0 , 0 ,
623
+ 0 }},
624
+ },
625
+ }},
626
+ {2 ,
611
627
1 ,
612
628
1 ,
613
629
2 , /* full duplex memory transfers */
@@ -631,8 +647,7 @@ static acl_system_def_t acltest_complex_system = {
631
647
/* burst_interleaved */ 1 ,
632
648
},
633
649
}}},
634
- {nullptr ,
635
- 3 ,
650
+ {3 ,
636
651
1 ,
637
652
1 ,
638
653
1 , /* half duplex memory transfers */
@@ -656,8 +671,7 @@ static acl_system_def_t acltest_complex_system = {
656
671
/* burst_interleaved */ 1 ,
657
672
},
658
673
}}},
659
- {nullptr ,
660
- 4 ,
674
+ {4 ,
661
675
1 ,
662
676
1 ,
663
677
1 , /* half duplex memory transfers */
0 commit comments