gpujs / gpu.js

GPU Accelerated JavaScript
https://gpu.rocks
MIT License
15.08k stars 650 forks source link

Is there a fairly easy way to use this with an cl file #699

Open techdrag0n opened 3 years ago

techdrag0n commented 3 years ago

I have the cl file from vanitygen plus, and would like to work with it from JavaScript, as I don't know c, I started trying to convert the c into is but haven't figured out how to call the cl file and pass the variables back and forth yet.

I'm hoping once I can get the original working to strip it down to just the point addition as I don't need the BTC address for my final project. I hope to filter the results by the new x values.

How important is this (1-5)?

5

benrayfield commented 2 years ago

If the .cl file is a string of opencl code, you can just copy it into any other opencl system such as lwjgl2's opencl API or Lazycl which uses that.