Skip to content

Commit

Permalink
remove subgroups_f16
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-baker committed Dec 11, 2024
1 parent e36b468 commit fba91ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ and limit the number of permutations needed to calculate the final result.`
const features: GPUFeatureName[] = ['subgroups' as GPUFeatureName];
if (t.params.type === 'f16') {
features.push('shader-f16');
features.push('subgroups-f16' as GPUFeatureName);
}
t.selectDeviceOrSkipTestCase(features);
})
Expand Down Expand Up @@ -186,7 +185,6 @@ g.test('data_types')
const features: GPUFeatureName[] = ['subgroups' as GPUFeatureName];
const type = kDataTypes[t.params.type];
if (type.requiresF16()) {
features.push('subgroups-f16' as GPUFeatureName);
features.push('shader-f16' as GPUFeatureName);
}
t.selectDeviceOrSkipTestCase(features);
Expand All @@ -196,7 +194,7 @@ g.test('data_types')
const type = kDataTypes[t.params.type];
let enables = `enable subgroups;\n`;
if (type.requiresF16()) {
enables += `enable f16;\nenable subgroups_f16;`;
enables += `enable f16;`;
}
const wgsl = `
${enables}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export async function runAccuracyTest(
const val1 = range[prng.uniformInt(numVals)];
const val2 = range[prng.uniformInt(numVals)];

const extraEnables = type === 'f16' ? `enable f16;\nenable subgroups_f16;` : ``;
const extraEnables = type === 'f16' ? `enable f16;` : ``;
const wgsl = `
enable subgroups;
${extraEnables}
Expand Down

0 comments on commit fba91ef

Please sign in to comment.