-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Array testsuite compiles kernel with large types #1902
Comments
I think this comes from #1899 |
Ah, these are values, not types. The display of captures is just a bit off: julia> function foo()
idx = LinearIndices(rand(Int, 10, 10, 10))
function ()
idx
end
end
foo (generic function with 1 method)
julia> f = foo()
#7 (generic function with 1 method)
julia> print(f)
#7
julia> show(f)
var"#7#8"{LinearIndices{3, Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}, Base.OneTo{Int64}}}}([1 11 21 31 41 51 61 71 81 91; 2 12 22 32 42 52 62 72 82 92; 3 13 23 33 43 53 63 73 83 93; 4 14 24 34 44 54 64 74 84 94; 5 15 25 35 45 55 65 75 85 95; 6 16 26 36 46 56 66 76 86 96; 7 17 27 37 47 57 67 77 87 97; 8 18 28 38 48 58 68 78 88 98; 9 19 29 39 49 59 69 79 89 99; 10 20 30 40 50 60 70 80 90 100;;; 101 111 121 131 141 151 161 171 181 191; 102 112 122 132 142 152 162 172 182 192; 103 113 123 133 143 153 163 173 183 193; 104 114 124 134 144 154 164 174 184 194; 105 115 125 135 145 155 165 175 185 195; 106 116 126 136 146 156 166 176 186 196; 107 117 127 137 147 157 167 177 187 197; 108 118 128 138 148 158 168 178 188 198; 109 119 129 139 149 159 169 179 189 199; 110 120 130 140 150 160 170 180 190 200;;; 201 211 221 231 241 251 261 271 281 291; 202 212 222 232 242 252 262 272 282 292; 203 213 223 233 243 253 263 273 283 293; 204 214 224 234 244 254 264 274 284 294; 205 215 225 235 245 255 265 275 285 295; 206 216 226 236 246 256 266 276 286 296; 207 217 227 237 247 257 267 277 287 297; 208 218 228 238 248 258 268 278 288 298; 209 219 229 239 249 259 269 279 289 299; 210 220 230 240 250 260 270 280 290 300;;; 301 311 321 331 341 351 361 371 381 391; 302 312 322 332 342 352 362 372 382 392; 303 313 323 333 343 353 363 373 383 393; 304 314 324 334 344 354 364 374 384 394; 305 315 325 335 345 355 365 375 385 395; 306 316 326 336 346 356 366 376 386 396; 307 317 327 337 347 357 367 377 387 397; 308 318 328 338 348 358 368 378 388 398; 309 319 329 339 349 359 369 379 389 399; 310 320 330 340 350 360 370 380 390 400;;; 401 411 421 431 441 451 461 471 481 491; 402 412 422 432 442 452 462 472 482 492; 403 413 423 433 443 453 463 473 483 493; 404 414 424 434 444 454 464 474 484 494; 405 415 425 435 445 455 465 475 485 495; 406 416 426 436 446 456 466 476 486 496; 407 417 427 437 447 457 467 477 487 497; 408 418 428 438 448 458 468 478 488 498; 409 419 429 439 449 459 469 479 489 499; 410 420 430 440 450 460 470 480 490 500;;; 501 511 521 531 541 551 561 571 581 591; 502 512 522 532 542 552 562 572 582 592; 503 513 523 533 543 553 563 573 583 593; 504 514 524 534 544 554 564 574 584 594; 505 515 525 535 545 555 565 575 585 595; 506 516 526 536 546 556 566 576 586 596; 507 517 527 537 547 557 567 577 587 597; 508 518 528 538 548 558 568 578 588 598; 509 519 529 539 549 559 569 579 589 599; 510 520 530 540 550 560 570 580 590 600;;; 601 611 621 631 641 651 661 671 681 691; 602 612 622 632 642 652 662 672 682 692; 603 613 623 633 643 653 663 673 683 693; 604 614 624 634 644 654 664 674 684 694; 605 615 625 635 645 655 665 675 685 695; 606 616 626 636 646 656 666 676 686 696; 607 617 627 637 647 657 667 677 687 697; 608 618 628 638 648 658 668 678 688 698; 609 619 629 639 649 659 669 679 689 699; 610 620 630 640 650 660 670 680 690 700;;; 701 711 721 731 741 751 761 771 781 791; 702 712 722 732 742 752 762 772 782 792; 703 713 723 733 743 753 763 773 783 793; 704 714 724 734 744 754 764 774 784 794; 705 715 725 735 745 755 765 775 785 795; 706 716 726 736 746 756 766 776 786 796; 707 717 727 737 747 757 767 777 787 797; 708 718 728 738 748 758 768 778 788 798; 709 719 729 739 749 759 769 779 789 799; 710 720 730 740 750 760 770 780 790 800;;; 801 811 821 831 841 851 861 871 881 891; 802 812 822 832 842 852 862 872 882 892; 803 813 823 833 843 853 863 873 883 893; 804 814 824 834 844 854 864 874 884 894; 805 815 825 835 845 855 865 875 885 895; 806 816 826 836 846 856 866 876 886 896; 807 817 827 837 847 857 867 877 887 897; 808 818 828 838 848 858 868 878 888 898; 809 819 829 839 849 859 869 879 889 899; 810 820 830 840 850 860 870 880 890 900;;; 901 911 921 931 941 951 961 971 981 991; 902 912 922 932 942 952 962 972 982 992; 903 913 923 933 943 953 963 973 983 993; 904 914 924 934 944 954 964 974 984 994; 905 915 925 935 945 955 965 975 985 995; 906 916 926 936 946 956 966 976 986 996; 907 917 927 937 947 957 967 977 987 997; 908 918 928 938 948 958 968 978 988 998; 909 919 929 939 949 959 969 979 989 999; 910 920 930 940 950 960 970 980 990 1000]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Observed during debugging:
It's impressive that this compiles down to 32 registers, but we shouldn't be putting large stuff like that in the type domain.
The text was updated successfully, but these errors were encountered: