@@ -387,8 +387,8 @@ function thread_one_loops_expr(
387
387
var"#nrequest#" = vsub_nw ((var"#nthreads#" % UInt32), 0x00000001 )
388
388
var"##do#thread##" = var"#nrequest#" ≠ 0x00000000
389
389
if var"##do#thread##"
390
- var"#threads#tuple#" , var"#torelease#tuple#" = Polyester . request_threads (var"#nrequest#" )
391
- # var"#threads#tuple#", var"#torelease#tuple#" = Polyester .request_threads(Threads.threadid()%UInt32, var"#nrequest#")
390
+ var"#threads#tuple#" , var"#torelease#tuple#" = PolyesterWeave . request_threads (var"#nrequest#" )
391
+ # var"#threads#tuple#", var"#torelease#tuple#" = PolyesterWeave .request_threads(Threads.threadid()%UInt32, var"#nrequest#")
392
392
393
393
var"#thread#factor#0#" = var"#nthreads#"
394
394
$ iterdef
@@ -397,7 +397,7 @@ function thread_one_loops_expr(
397
397
for var"#threads#" in var"#threads#tuple#"
398
398
399
399
var"#thread#launch#count#" = 0x00000000
400
- var"#thread#mask#" = Polyester . mask (var"#threads#" )
400
+ var"#thread#mask#" = PolyesterWeave . mask (var"#threads#" )
401
401
var"#nrequest#" = length (var"#threads#" )
402
402
var"#threads#remain#" = var"#thread#launch#count#" ≠ var"#nrequest#"
403
403
var"##do#thread##" |= var"#threads#remain#"
@@ -425,8 +425,8 @@ function thread_one_loops_expr(
425
425
var"#nrem#thread#0#" -= var"#nrequest#"
426
426
end
427
427
else # eliminate undef var errors that the compiler should be able to figure out are unreachable, but doesn't
428
- var"#torelease#tuple#" = (zero (Polyester . worker_type ()),)
429
- var"#threads#tuple#" = (Polyester . UnsignedIteratorEarlyStop (zero (Polyester . worker_type ()), 0x00000000 ),)
428
+ var"#torelease#tuple#" = (zero (PolyesterWeave . worker_type ()),)
429
+ var"#threads#tuple#" = (PolyesterWeave . UnsignedIteratorEarlyStop (zero (PolyesterWeave . worker_type ()), 0x00000000 ),)
430
430
end
431
431
end
432
432
var"#avx#call#args#" = $ avxcall_args
@@ -436,7 +436,7 @@ function thread_one_loops_expr(
436
436
for var"#i#" ∈ eachindex (var"#threads#tuple#" )
437
437
var"#threads#" = var"#threads#tuple#" [var"#i#" ]
438
438
439
- var"#thread#mask#" = Polyester . mask (var"#threads#" )
439
+ var"#thread#mask#" = PolyesterWeave . mask (var"#threads#" )
440
440
var"#threads#remain#" = (length (var"#threads#tuple#" ) == 1 ) || (var"#thread#mask#" ≠ zero (var"#thread#mask#" ))
441
441
while var"#threads#remain#"
442
442
VectorizationBase. assume (var"#thread#mask#" ≠ zero (var"#thread#mask#" ))
@@ -448,7 +448,7 @@ function thread_one_loops_expr(
448
448
$ update_return_values
449
449
var"#threads#remain#" = var"#thread#mask#" ≠ 0x00000000
450
450
end
451
- Polyester . free_threads! (var"#torelease#tuple#" [var"#i#" ])
451
+ PolyesterWeave . free_threads! (var"#torelease#tuple#" [var"#i#" ])
452
452
end
453
453
$ retexpr
454
454
end
@@ -581,8 +581,8 @@ function thread_two_loops_expr(
581
581
var"#loop#1#start#init#" = var"#iter#start#0#"
582
582
var"##do#thread##" = var"#nrequest#" ≠ 0x00000000
583
583
if var"##do#thread##"
584
- # var"#threads#tuple#", var"#torelease#tuple#" = Polyester .request_threads(Threads.threadid(), var"#nrequest#")
585
- var"#threads#tuple#" , var"#torelease#tuple#" = Polyester . request_threads (var"#nrequest#" )
584
+ # var"#threads#tuple#", var"#torelease#tuple#" = PolyesterWeave .request_threads(Threads.threadid(), var"#nrequest#")
585
+ var"#threads#tuple#" , var"#torelease#tuple#" = PolyesterWeave . request_threads (var"#nrequest#" )
586
586
var"##do#thread##" = false
587
587
$ iterdef1
588
588
$ iterdef2
@@ -593,7 +593,7 @@ function thread_two_loops_expr(
593
593
var"#nrequest#" = length (var"#threads#" )
594
594
# @show var"#base#block#size#thread#0#", var"#block#rem#step#0#" var"#base#block#size#thread#1#", var"#block#rem#step#1#"
595
595
var"#thread#launch#count#" = 0x00000000
596
- var"#thread#mask#" = Polyester . mask (var"#threads#" )
596
+ var"#thread#mask#" = PolyesterWeave . mask (var"#threads#" )
597
597
var"#threads#remain#" = var"#thread#launch#count#" ≠ var"#nrequest#"
598
598
var"##do#thread##" |= var"#threads#remain#"
599
599
while var"#threads#remain#"
@@ -630,8 +630,8 @@ function thread_two_loops_expr(
630
630
end
631
631
end
632
632
else # eliminate undef var errors that the compiler should be able to figure out are unreachable, but doesn't
633
- var"#torelease#tuple#" = (zero (Polyester . worker_type ()),)
634
- var"#threads#tuple#" = Polyester . UnsignedIteratorEarlyStop (zero (Polyester . worker_type ()), 0x00000000 )
633
+ var"#torelease#tuple#" = (zero (PolyesterWeave . worker_type ()),)
634
+ var"#threads#tuple#" = PolyesterWeave . UnsignedIteratorEarlyStop (zero (PolyesterWeave . worker_type ()), 0x00000000 )
635
635
end
636
636
end
637
637
# @show $lastboundexpr
@@ -641,7 +641,7 @@ function thread_two_loops_expr(
641
641
var"#thread#id#" = 0x00000000
642
642
for var"#i#" ∈ eachindex (var"#threads#tuple#" )
643
643
var"#threads#" = var"#threads#tuple#" [var"#i#" ]
644
- var"#thread#mask#" = Polyester . mask (var"#threads#" )
644
+ var"#thread#mask#" = PolyesterWeave . mask (var"#threads#" )
645
645
var"#threads#remain#" = (length (var"#threads#tuple#" ) == 1 ) || (var"#thread#mask#" ≠ zero (var"#thread#mask#" ))
646
646
while var"#threads#remain#"
647
647
VectorizationBase. assume (var"#thread#mask#" ≠ zero (var"#thread#mask#" ))
@@ -653,7 +653,7 @@ function thread_two_loops_expr(
653
653
$ update_return_values
654
654
var"#threads#remain#" = var"#thread#mask#" ≠ 0x00000000
655
655
end
656
- Polyester . free_threads! (var"#torelease#tuple#" [var"#i#" ])
656
+ PolyesterWeave . free_threads! (var"#torelease#tuple#" [var"#i#" ])
657
657
end
658
658
$ retexpr
659
659
end
0 commit comments