Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

128
Views
call other module in gpu.js kernel

I write this code for better performance but it didnt run and has many errors .can anybody help me?

const { GPU } = require('gpu.js');
const gpu = new GPU();
    var randomHex = require("randomhex");
const settings = {
    output: [1]
};

const exampleKernel = gpu.createKernel(function(x) {

    var tt=randomHex(32)
 return tt;
}, settings);
console.log(exampleKernel(25)[0]);

error:

    throw this.astErrorOutput(`Markup type ${ type } not handled`, varDecNode);
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!