Skip to content

Commit

Permalink
Get rid of todos
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhhelgeson committed Nov 2, 2023
1 parent 706e090 commit 80596b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/sample/bitonicSort/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ const getNumSteps = (numElements: number) => {
let init: SampleInit;
SampleInitFactoryWebGPU(
async ({ pageState, device, gui, presentationFormat, context, canvas }) => {
// TODO: Only use this once to define the initial values
const maxThreadsX = device.limits.maxComputeWorkgroupSizeX;

const totalElementLengths = [];
Expand Down Expand Up @@ -327,7 +326,6 @@ SampleInitFactoryWebGPU(
}),
compute: {
module: device.createShaderModule({
// TODO: set to min(settings['Total Elements'] / 2, settings['ThreadConstraint'])
code: NaiveBitonicCompute(
Math.min(
settings['Total Elements'] / 2,
Expand Down Expand Up @@ -436,7 +434,6 @@ SampleInitFactoryWebGPU(
}),
compute: {
module: device.createShaderModule({
// TODO: set to min(settings['Total Elements'] / 2, settings['ThreadConstraint'])
code: NaiveBitonicCompute(
Math.min(
settings['Total Elements'] / 2,
Expand Down

0 comments on commit 80596b3

Please sign in to comment.