Skip to content

Commit aa7c307

Browse files
authored
New Mojmelo for Max 25.4 (#146)
* New Mojmelo for Max 25.4 * A minor fix on main repo
1 parent e9b29de commit aa7c307

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

recipes/mojmelo/recipe.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
context:
2-
version: "0.0.65"
2+
version: "0.0.7"
33

44
package:
55
name: "mojmelo"
66
version: ${{ version }}
77

88
source:
99
- git: https://github.com/yetalit/mojmelo.git
10-
rev: 82991dfa4b71b7ed63b468e01be8d5798f4ba61b
10+
rev: 4b90055ee3ac18cbdd5d3e6f77600517459688cb
1111

1212
build:
1313
number: 0
@@ -16,7 +16,7 @@ build:
1616
- mojo package pixi/mojmelo -o ${{ PREFIX }}/lib/mojo/mojmelo.mojopkg
1717
requirements:
1818
host:
19-
- max =25.3
19+
- max =25.4
2020
run:
2121
- ${{ pin_compatible('max') }}
2222

@@ -27,7 +27,7 @@ tests:
2727
- mojo tests/setup.mojo
2828
requirements:
2929
run:
30-
- max =25.3
30+
- max =25.4
3131
files:
3232
recipe:
3333
- tests/setup.mojo

recipes/mojmelo/tests/mojmelo/utils/Matrix.mojo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ from .mojmelo_matmul import matmul
22
from memory import memcpy, memset_zero, UnsafePointer
33
import random
44

5-
struct Matrix:
5+
struct Matrix(Copyable, Movable, Sized):
66
var height: Int
77
var width: Int
88
var size: Int

recipes/mojmelo/tests/mojmelo/utils/mojmelo_matmul/matmul.mojo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fn intsqrt[n: Int]() -> Int:
3535

3636
@value
3737
@register_passable("trivial")
38-
struct Layout:
38+
struct Layout(Writable):
3939
var shape: IndexList[2]
4040
var strides: IndexList[2]
4141

0 commit comments

Comments
 (0)