Bend/KNOWN_ISSUES.md

40 lines
2.2 KiB
Markdown
Raw Normal View History

# Known Issues
2024-05-18 20:00:22 +03:00
### Why are my numbers giving me wrong results?
- Either cause overflowing u24 or mixing different number types.
2024-05-18 19:38:52 +03:00
### Can I run this on AMD/METAL GPUs?
2024-05-18 20:00:22 +03:00
- We plan on adding support to many other GPUs as soon as the CUDA version is sufficiently stable.
2024-05-18 19:38:52 +03:00
### Can I run this on Windows?
- We're still working on the windows support, for the moment, please use [WSL2](https://learn.microsoft.com/en-us/windows/wsl/install).
### I get "Command `bend` not found" after installing, what do I do?
- If you are on Unix system (or WSL) then most likely bend did not add itself to the PATH variable in your rc file. To remedy this:
- Determine if you are using bash or zsh (check for presence of `~/.bashrc` or `~/.zshrc`)
- Make change to the relevant file by running `echo -n 'export PATH=$PATH:$HOME/.cargo/bin' >> ~/.bashrc`
- use `~/.zshrc` in place of `~/.bashrc` in the case you are on zsh system
- You will then need to run `source ~/.bashrc` or `source ~/.zshrc` for the changes to take effect immediately
- Try running `bend` once more - it should work now!
### How do I use IO?
2024-05-18 20:00:22 +03:00
- IO is still being developed and is expected to come soon.
2024-05-18 19:38:52 +03:00
### How to do FFI?
- Not as soon as IO, but planned or at least something similar to FFI.
2024-05-18 19:38:52 +03:00
2024-05-18 20:00:22 +03:00
### Are there any Libraries, Packages etc?
- A package manager will be added soon.
2024-05-18 19:38:52 +03:00
2024-05-18 20:00:22 +03:00
### I got an error when installing HVM on Linux
- If the error contains anything regarding `ccbin`, please refer to [HVM#291](https://github.com/HigherOrderCO/HVM/issues/291)
2024-05-18 19:38:52 +03:00
2024-05-18 20:00:22 +03:00
- If the error contains anything regarding `libc` missing, please refer to [HVM#355](https://github.com/HigherOrderCO/Bend/issues/355)
2024-05-18 19:38:52 +03:00
2024-05-18 20:33:33 +03:00
### I'm getting an error of failed assertion
- HVM currently has a bug in its conversion of f32 to f24 and it's unable to read the number 0.0. We already have a fix that we're working on.
2024-05-18 19:38:52 +03:00
### Why am I getting a CUDA not supported error even though I have it installed?
- The current iteration of the `hvm.cu` was written with the RTX 4090 in mind, and won't work on older GPUs, since they contain about half of the newer GPUs shared memory, for better understanding please refer to [HVM#283](https://github.com/HigherOrderCO/HVM/issues/283). We are working on the support for other GPUs and will release it soon.
2024-05-18 20:02:14 +03:00