Skip to content

Question #418

@vqalex

Description

@vqalex

I'm trying to do basic calculations by using "headlessgl" and have some performance issues when pushing a lot of data (~1M inputs), it works but really slow, 100s times slower than CPU. VRAM utilization is going up but GPU stays within the same 5-6%. I'm using GTX 1060.

  gpu = new GPU({mode:'headlessgl'});
  var set1 = db_input1
  var set2 = db_input2

  const differnce = gpu.createKernel(function(set1, set2) {
    return set1 - set2;
  }).setOutput([1]);

  gpu.destroy();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions