Reputation: 1173
I have simple compute shader like:
@compute @workgroup_size(x, y, z)
fn main(@builtin(global_invocation_id) global_id : vec3<u32>) {
...
}
where x
, y
and z
are some integers. But I suppose the size of a data, I want to handle will be super large. So what is the maximum value I can specify for x
, y
and z
? If it is system-dependent, so how I can determine it programmatically? How can I handle data, that is out of these limits?
Upvotes: 1
Views: 1478