Skip to content
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

BugFix: Tensor Shaped Index-Components #240

Merged
merged 14 commits into from
Nov 18, 2024
Merged

BugFix: Tensor Shaped Index-Components #240

merged 14 commits into from
Nov 18, 2024

Conversation

hikettei
Copy link
Owner

@hikettei hikettei commented Nov 18, 2024

  • Index-Components
  • !Triu
  • small repro: (caten (!<= (make-tensor (1 1 s 1)) (make-tensor (1 1 1 s))))
  • gpt runs

@hikettei hikettei mentioned this pull request Nov 18, 2024
7 tasks
@hikettei
Copy link
Owner Author

but need to remove a ton of unused constants?

void fused_maxreduce_maxreduce_argmaxnode263849(int64_t* val_1536, const int64_t val_1534, const int64_t val_1494, const int64_t val_1526, const int64_t val_1498, const int64_t val_1521, const int64_t val_1508, const int64_t val_1505, const int64_t val_1472, const float* restrict val_1449) {
  float val_1495 = 32.0;
  float val_1485 = 0.0;
  float val_1488 = 0.0;
  for (int _gid2=0; (_gid2<32); _gid2+=1) {
    val_1488 = max(val_1488, val_1449[(((128*s)*_gid2)+(128*val_1472))]);
  }
  for (int _gid2=0; (_gid2<32); _gid2+=1) {
    val_1485 = max(val_1485, (!((val_1449[(((128*s)*_gid2)+(128*val_1472))]!=val_1488)) ? (31.0+(0*-1.0)) : 0.0));
  }
  val_1536[0] = (int64_t)((val_1495+-(val_1485))+-1.0);
}

@hikettei hikettei merged commit 99ccea1 into main Nov 18, 2024
6 checks passed
@hikettei hikettei deleted the fix-symbolic-view branch November 18, 2024 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant