File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -163,11 +163,22 @@ fn get_device_info(device: &PhysicalDevice, color: &str) -> Vec<String> {
163163 // ));
164164 lines. push ( format ! (
165165 "{}{}Max Compute Shared Memory Size{}: {} bytes" ,
166- ALIGNMENT , color, RESET , device. characteristics. max_compute_shared_memory_size
166+ ALIGNMENT ,
167+ color,
168+ RESET ,
169+ format_bytes( device. characteristics. max_compute_shared_memory_size. into( ) )
167170 ) ) ;
168171 lines. push ( format ! (
169172 "{}{}Max Compute Work Group Invocations{}: {}" ,
170- ALIGNMENT , color, RESET , device. characteristics. max_compute_work_group_invocations
173+ ALIGNMENT ,
174+ color,
175+ RESET ,
176+ format_bytes(
177+ device
178+ . characteristics
179+ . max_compute_work_group_invocations
180+ . into( )
181+ )
171182 ) ) ;
172183
173184 lines
You can’t perform that action at this time.
0 commit comments