Force cast of dim3's attributes to int.