Groups
Groups
Sign in
Groups
Groups
emscripten-discuss
Conversations
About
Send feedback
Help
Compiling CUDA and OpenCL codes using emscripten
60 views
Skip to first unread message
Qianqian Fang
unread,
Aug 17, 2019, 7:38:24 PM
8/17/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to emscripte...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages