[GPU] bugfix: partial subgroup issue (#14845)
Behavior is undefined if the subgroup size is smaller than the maximum subgroup size; in other words, if this is a partial subgroup.
This commit is contained in:
parent
ef0bc2b406
commit
8ab2e0e8d6
@ -231,8 +231,6 @@ KERNEL (resample_opt)(__global INPUT0_TYPE* input,
|
|||||||
typedef IN_VEC_TYPE in_vec_t;
|
typedef IN_VEC_TYPE in_vec_t;
|
||||||
typedef ACC_VEC_TYPE acc_vec_t;
|
typedef ACC_VEC_TYPE acc_vec_t;
|
||||||
|
|
||||||
if (feature_num >= OUTPUT_FEATURE_NUM)
|
|
||||||
return;
|
|
||||||
|
|
||||||
#ifdef SAMPLE_TYPE_NEAREST
|
#ifdef SAMPLE_TYPE_NEAREST
|
||||||
unroll_for (uint out_x = 0; out_x < OUTPUT_X_BLOCK_SIZE; out_x++) {
|
unroll_for (uint out_x = 0; out_x < OUTPUT_X_BLOCK_SIZE; out_x++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user