A
A
Anastasia Mr2018-01-29 22:15:45
Node.js
Anastasia Mr, 2018-01-29 22:15:45

How to force a nodejs application to do calculations with graphics cards and not CPU?

How to force a nodejs application to do calculations with graphics cards and not CPU? The application is launched through the command line, not mining! Just a lot of calculations

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2018-01-29
@sergey-gornostaev

First Google link for "nodejs gpu" - Speed ​​up node.js: native modules and CUDA . The second is gpu.js GPU Accelerated JavaScript .

N
NosovK, 2018-01-30
@NosovK

Actually, whatever one may say, the SDK for computing on a video card will lead to C, which, beautifully wrapped, can be called from nodejs. By means of nodejs itself - no way. V8 only works with cpu.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question