chrxh / alien

ALIEN is a CUDA-powered artificial life simulation program.
https://alien-project.org
BSD 3-Clause "New" or "Revised" License
4.33k stars 132 forks source link

Substitute to forced Nvidia graphics card #28

Open Bellisario opened 3 years ago

Bellisario commented 3 years ago

From the videos I saw, I started loving ALiEn, but the problem is that I can't install it because I don't have an Nvidia graphics card. Someone know if there is a way to run it equally or there are other solutions that I can consider?

chrxh commented 3 years ago

This would require converting the CUDA code into OpenCL. I think there are tools for this. If someone knows more about it, that would be a great!

Ccode-lang commented 1 year ago

Hi, I was browsing with this issue in mind and found this: https://github.com/ROCm-Developer-Tools/HIPIFY

I don't know how well this might integrate with the current code at the moment but we shouldn't have to rewrite all the cuda code.

chrxh commented 1 year ago

HIP sounds promising. That could be an option for the future.

Foxlum commented 11 months ago

HIP sounds promising. That could be an option for the future.

This is very much possible now that windows has HIP support (The runtime is universal with RDNA2, and 3 on windows), and is actually usable. (as in buildable and running, but it doesn't have the required libraries for stuff like pytorch or similar, but since this is raw CUDA code starting with HIPIFY is a good start into a HIP port that is universal for both)

caichenyi92 commented 11 months ago

您好,您的邮件已收到,我会尽快回复,谢谢。

蔡陈翼

东南大学建筑学院

南京市玄武区四牌楼2号Tel:18652966253

CrispyPin commented 4 months ago

https://github.com/vosen/ZLUDA is probably also worth trying, it lets you run CUDA applications on AMD graphics.