abdul dakkak

Results 31 comments of abdul dakkak

I'd like to benchmark some GPU code and that needs to use more accurate timers provided by the cuda / opencl apis

FYI: There is an `is_power_of_2` function in the math module which should be compile-time evaluated . You can implement it yourself using ``` fn is_power_of_2(val: Int) -> Bool: return (val...

Thanks @gryznar for reporting. We are aware of this issue and will take steps to resolve this ASAP

Thanks @gryznar this is good to know. I believe the fix for the above will make compilation faster as well. Let's take one thing at a time ;)

Sounds like a great suggestion and is simple to implement. Thanks

Thank you for filing an issue. This is a glaring omission which has been fixed internally and will be rolled out ASAP

This makes perfect sense. One thing is that there are function like inf, nan, and neg_inf that are in the stdlib. Thanks for the suggestion to complete adding the numeric...

In Mojo 0.4 we introduced a file module (see https://docs.modular.com/mojo/stdlib/builtin/file.html ) That is now the preferred way to read / write files instead of using through the Python route

yes, this is planned. We do not have an explicit timeline thought atm