2021-06-18 18:56:13 +00:00
|
|
|
var<workgroup> arg_0 : atomic<i32>;
|
2021-06-18 18:56:13 +00:00
|
|
|
|
2021-06-18 18:56:13 +00:00
|
|
|
fn atomicAdd_794055() {
|
2022-10-25 13:08:45 +00:00
|
|
|
var res : i32 = atomicAdd(&(arg_0), 1i);
|
2021-06-18 18:56:13 +00:00
|
|
|
}
|
2021-06-18 18:56:13 +00:00
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@compute @workgroup_size(1)
|
2021-06-18 18:56:13 +00:00
|
|
|
fn compute_main() {
|
|
|
|
atomicAdd_794055();
|
|
|
|
}
|