-
To find the maximum value in an `ndslice` `u`, we can use `mir`'s `maxIndex`:
```
u[u.maxIndex]
```
but it would be nice to have the functions `maxElement` and `minElement` directly implemented in…
-
Can we use library @nothrow @nogc generic code in kernels. For example `Slice!(Contiguous, [1], GlobalPointer!T)` and ndslice topology?
-
## pabuond reported this on 2024-11-13T19:28:18Z
### Transfered from https://issues.dlang.org/show_bug.cgi?id=24858
### CC List
* kdevel
* nick (@ntrel)
* pabuond
### Description
````markdown
`ma…
-
@WebFreak001
> And maybe also mir instead of blas
I can not say GLAS is better then common BLAS because it is not complete and recent LLVM has performance issues.
But I would be very happy to…
-
In thinking about #10771, I realized that a simple helper function like the following might be handy:
```python
def ndslice(sl):
""" convert a slice of iterables into a tuple of slices (nd sl…
-
-
Example:
```
source/mir/ndslice/dynamic.d(419,27): Error: CTFE failed because of previous errors in isPermutation
source/mir/ndslice/dynamic.d(419,9): while evaluating: static assert([3LU, 0…
-
-
From [1566-proc-macros.md](https://github.com/rust-lang/rfcs/blob/master/text/1566-proc-macros.md#interactions-with-constant-evaluation):
> ### Interactions with constant evaluation
> Both procedu…
-
staticArray does not compile when **string** with:
> mir-core\source\mir\functional.d(57,12): Error: returning `a` escapes a reference to variadic parameter `a`
The code below compiles, removing…