Replacing preferred work-group size query with a less hacky version