Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UInt launch arg crashing #34

Open
elias098 opened this issue Jul 21, 2024 · 0 comments
Open

UInt launch arg crashing #34

elias098 opened this issue Jul 21, 2024 · 0 comments

Comments

@elias098
Copy link

currently using UInt as a launch arg panics with

wgpu error: Validation Error

Caused by:
    In Device::create_bind_group
    Number of bindings in bind group descriptor (1) does not match the number of bindings defined in the bind group layout (2)

i have only tried this with wgpu and on mac

pub fn launch() {
    let device = WgpuDevice::default();
    let client = WgpuRuntime::client(&device);

    test::launch::<WgpuRuntime>(
        &client,
        CubeCount::Static(1, 1, 1),
        CubeDim::new(1, 1, 1),
        ScalarArg::new(1),
    )
}

#[cube(launch)]
fn test(int: UInt) {
    int + 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant