Dear list,

I was previously under the impression that CUDA and OpenCL codes are not supported with emscripten

https://emscripten-discuss.narkive.com/6cj8P8Xz/difficulty-in-porting-a-high-performance-monte-carlo-simulator-openmp-and-sse-support#post2

however, I just noticed this project

https://github.com/frpays/lc0-js

from README, it appears that one can compile/link with CUDA/OpenCL, and run the app in the browser.

I haven't figured out how this was done, but wondering if someone can confirm if this is indeed supported? does that mean GPUs be used in the browser?

my goal is to port two of my C-based software, one use CUDA as backend (https://github.com/fangq/mcx), the other use OpenCL as backend (https://github.com/fangq/mcxcl).

Are there documentations or skeleton project/make files available to compile CUDA/OpenCL?

thanks

Qianqian

--
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/576dab25-c355-6852-d564-7f96ec3d22d3%40gmail.com.

Reply via email to