import '../../../globals.js';
// Copyright 2023-2024, University of Colorado Boulder
/**
 * Represents a WGPU-like kernel that can be executed in parallel. Designed so that we can test WGPU-like code, but use
 * the debugging facilities of the browser to debug it.
 *
 * See ParallelExecutor for more high-level documentation.
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import { alpenglow } from '../imports.js';
export default class ParallelKernel {
    constructor(execute, createWorkgroupValues, storageArrays, workgroupX = 1, workgroupY = 1, workgroupZ = 1) {
        this.execute = execute;
        this.createWorkgroupValues = createWorkgroupValues;
        this.storageArrays = storageArrays;
        this.workgroupX = workgroupX;
        this.workgroupY = workgroupY;
        this.workgroupZ = workgroupZ;
    }
}
alpenglow.register('ParallelKernel', ParallelKernel);
//# sourceMappingURL=ParallelKernel.js.map