You should not create custom localsize here. There are many kernels which work with fixed work group size.