Pema Malling

Results 44 comments of Pema Malling

> This sounds like `export` keyword should be able to be used with struct declaration. > > > Alternatively, a way to never include them would also be helpful for...

FWIW I've had better luck debugging and troubleshooting with SSE rather than AVX. Anecdotal, though.

`break` would definitely be a welcome addition, imo. That being said, I don't really see an issue with allowing either unconditionally in an `unmasked` clause, what do you think? It's...

I thought of a """workaround""" 🤣 ```c extern "C" unmasked uniform int setjmp_ispc(); extern "C" unmasked void longjmp_ispc(); export void test() { if (setjmp_ispc()) goto cleanup; foreach (i = 0...

The current restrictions are strange to me. This code doesn't compile: ```c export void test1(uniform int n) { foreach (i = 0 ... n) { if (i < 10) {...

FWIW I'd guess similar overloads are missing for `insert`. Haven't verified, though.

On the topic of operations on the execution mask, have you considered supporting operations such as flipping the bits of the execution mask and getting the first active lane? I...

I see my first suggestion is nonsense since external functions are only executed once per call regardless, which was my primary use case. That was a misunderstanding on my part,...

Fair point, I'll keep it in mind. Main reason I point this out, is that ISPC does in fact support both orderings, but that one is only usable in some...