From f3c9f2af00aeb349b8b7f00ee297c32b59605673 Mon Sep 17 00:00:00 2001 From: cmhhelgeson <62450112+cmhhelgeson@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:58:25 -0800 Subject: [PATCH] removed un needed logs --- src/sample/bitonicSort/main.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/sample/bitonicSort/main.ts b/src/sample/bitonicSort/main.ts index 0833be93..040095a1 100644 --- a/src/sample/bitonicSort/main.ts +++ b/src/sample/bitonicSort/main.ts @@ -513,7 +513,6 @@ SampleInitFactoryWebGPU( sizeLimitController.domElement.style.pointerEvents = 'auto'; // Create new config key for current element + size limit configuration const currConfigKey = `${settings['Total Elements']} ${settings['Size Limit']}`; - console.log(currConfigKey); // If configKey doesn't exist in the map, create it. if (!settings.configToCompleteSwapsMap[currConfigKey]) { settings.configToCompleteSwapsMap[currConfigKey] = { @@ -552,9 +551,7 @@ SampleInitFactoryWebGPU( }, }); // Create new config key for current element + size limit configuration - // Create new config key for current element + size limit configuration const currConfigKey = `${settings['Total Elements']} ${settings['Size Limit']}`; - console.log(currConfigKey); // If configKey doesn't exist in the map, create it. if (!settings.configToCompleteSwapsMap[currConfigKey]) { settings.configToCompleteSwapsMap[currConfigKey] = { @@ -796,7 +793,6 @@ SampleInitFactoryWebGPU( // and x 'Size Limit', which will allow us to calculate the average time of all sorts executed with this specific // configuration of compute resources settings.configToCompleteSwapsMap[settings.configKey].sorts += 1; - console.log(settings.configToCompleteSwapsMap); } else if (highestBlockHeight > settings['Workgroup Size'] * 2) { // The next cycle's maximum swap span exceeds the range of a single workgroup, so our next flip will operate on global indices. nextStepController.setValue('FLIP_GLOBAL'); @@ -894,11 +890,9 @@ SampleInitFactoryWebGPU( stepTimeController.setValue(`${newStepTime.toFixed(5)}ms`); sortTimeController.setValue(`${newSortTime.toFixed(5)}ms`); // Calculate new average sort upon end of final execution step of a full bitonic sort. - console.log(highestBlockHeight); if (highestBlockHeight === settings['Total Elements'] * 2) { // Lock off access to this larger if block..not best architected solution but eh highestBlockHeight *= 2; - console.log(highestBlockHeight); settings.configToCompleteSwapsMap[settings.configKey].time += newSortTime; const averageSortTime =