Skip to content

cl.getCommandQueueInfo crashes occasionally #40

@andreasgal

Description

@andreasgal

The following test case crashes reliably after a few iterations.

var cl = require('node-opencl');
var platforms = cl.getPlatformIDs();
var ctx = cl.createContextFromType([cl.CONTEXT_PLATFORM, platforms[0]], cl.DEVICE_TYPE_ALL, null, null);
var device = cl.getContextInfo(ctx, cl.CONTEXT_DEVICES)[0];
var q = cl.createCommandQueue(ctx, device, cl.QUEUE_PROFILING_ENABLE);

for (var n = 0; n < 1000; ++n) {
var ctx2 = cl.getCommandQueueInfo(q, cl.QUEUE_CONTEXT);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions