unbornchikken / NOOOCL

Node.js Object Oriented OpenCL Bindings
MIT License
81 stars 9 forks source link

host.getPlatforms hangs up #5

Closed vird closed 9 years ago

vird commented 9 years ago

nooocl version 0.9.10

var nooocl = require("nooocl");
var CLHost = nooocl.CLHost;

var host = CLHost.createV11();
var defs = host.cl.defs;

console.log("HERE")
var platforms = host.getPlatforms();
console.log("THERE")

CLHost.createV12(); didn't help

lspci | grep -i VGA 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics]

eselect opengl list Available OpenGL implementations: [1] ati * [2] xorg-x11

aticonfig --list-adapters

* 0. 00:01.0 AMD Radeon(TM) R7 Graphics

* - Default adapter

more detailed position

CLHost.prototype.getPlatforms = function () {

var i;
var count = this._nPlatformsCount;
console.log("HERE")
var nCount = count.deref();
console.log("THERE")
vird commented 9 years ago

In fact reboot was solution.