]> zoso.dev Git - nano-pow.git/log
nano-pow.git
3 days agoRemove unneeded v_01 vector assignments.
Chris Duncan [Tue, 14 Jan 2025 17:41:45 +0000 (09:41 -0800)]
Remove unneeded v_01 vector assignments.

3 days agoReplace scalar addition involving v[0-1] and m with vector addition.
Chris Duncan [Tue, 14 Jan 2025 17:39:16 +0000 (09:39 -0800)]
Replace scalar addition involving v[0-1] and m with vector addition.

3 days agoAdd calculation rate to benchmarks.
Chris Duncan [Tue, 14 Jan 2025 16:47:55 +0000 (08:47 -0800)]
Add calculation rate to benchmarks.

3 days agoReplace more scalar addition with vector addition.
Chris Duncan [Tue, 14 Jan 2025 16:36:29 +0000 (08:36 -0800)]
Replace more scalar addition with vector addition.

3 days agoReplace more scalar addition with vector addition.
Chris Duncan [Tue, 14 Jan 2025 16:33:13 +0000 (08:33 -0800)]
Replace more scalar addition with vector addition.

3 days agoReplace more scalar addition with vector addition.
Chris Duncan [Tue, 14 Jan 2025 16:31:19 +0000 (08:31 -0800)]
Replace more scalar addition with vector addition.

3 days agoReplace more scalar addition with vector addition.
Chris Duncan [Tue, 14 Jan 2025 16:28:14 +0000 (08:28 -0800)]
Replace more scalar addition with vector addition.

3 days agoRepalce more scalar addition with vector addition.
Chris Duncan [Tue, 14 Jan 2025 16:26:17 +0000 (08:26 -0800)]
Repalce more scalar addition with vector addition.

3 days agoReplace more scalar addition with vector addition.
Chris Duncan [Tue, 14 Jan 2025 16:24:37 +0000 (08:24 -0800)]
Replace more scalar addition with vector addition.

3 days agoReplace more scalar addition with vector addition.
Chris Duncan [Tue, 14 Jan 2025 16:21:51 +0000 (08:21 -0800)]
Replace more scalar addition with vector addition.

3 days agoReplace more scalar addition with vector addition.
Chris Duncan [Tue, 14 Jan 2025 16:19:59 +0000 (08:19 -0800)]
Replace more scalar addition with vector addition.

3 days agoReplace more scalar addition with vector addition.
Chris Duncan [Tue, 14 Jan 2025 16:16:14 +0000 (08:16 -0800)]
Replace more scalar addition with vector addition.

3 days agoReplace more scalar addition with vector addition.
Chris Duncan [Tue, 14 Jan 2025 16:13:34 +0000 (08:13 -0800)]
Replace more scalar addition with vector addition.

3 days agoCancel test if validate is not working.
Chris Duncan [Tue, 14 Jan 2025 15:21:17 +0000 (07:21 -0800)]
Cancel test if validate is not working.

3 days agoReplace more scalar addition with vector addition.
Chris Duncan [Tue, 14 Jan 2025 15:08:19 +0000 (07:08 -0800)]
Replace more scalar addition with vector addition.

3 days agoReplace more scalar addition with vector addition. Interestingly, found that commenti...
Chris Duncan [Tue, 14 Jan 2025 14:54:11 +0000 (06:54 -0800)]
Replace more scalar addition with vector addition. Interestingly, found that commenting out ` v24 = v_2425.x;` or `v25 = v_2425.y;` still results in a correct nonce. This presents an opportunity to prune even more instructions, so this will be pursued in a separate branch.

4 days agoAdd remaining compression buffer values as vectors.
Chris Duncan [Tue, 14 Jan 2025 06:11:49 +0000 (22:11 -0800)]
Add remaining compression buffer values as vectors.

4 days agoStage final fully reduced u64 addition operation using vectors. This will be the...
Chris Duncan [Tue, 14 Jan 2025 06:04:36 +0000 (22:04 -0800)]
Stage final fully reduced u64 addition operation using vectors. This will be the technique going forward; the assignments to individual scalars after the vector sum are purely placeholders until the entire algorithm can be converted.

4 days agoOptimize 64-bit addition. More to come since this is producing valid results.
Chris Duncan [Mon, 13 Jan 2025 22:32:47 +0000 (14:32 -0800)]
Optimize 64-bit addition. More to come since this is producing valid results.

4 days agoPatch version. v1.2.4
Chris Duncan [Mon, 13 Jan 2025 21:38:51 +0000 (13:38 -0800)]
Patch version.

4 days agoImport NanoPow dynamically, preferring local source. Allow user to set test count...
Chris Duncan [Mon, 13 Jan 2025 20:58:52 +0000 (12:58 -0800)]
Import NanoPow dynamically, preferring local source. Allow user to set test count. Remove testing alternate libs and only test best one loaded. Add benchmarks.

4 days agoIncrease dispatch to 1024x1024 to optimize balance between dispatch size and overhead...
Chris Duncan [Mon, 13 Jan 2025 19:56:09 +0000 (11:56 -0800)]
Increase dispatch to 1024x1024 to optimize balance between dispatch size and overhead since this is about the smallest size where it hits a nonce on the first pass the majority of the time.

4 days agoFix combined reference to NanoPow either locally or remotely.
Chris Duncan [Mon, 13 Jan 2025 17:53:37 +0000 (09:53 -0800)]
Fix combined reference to NanoPow either locally or remotely.

4 days agoUse @latest version of packages in test page.
Chris Duncan [Mon, 13 Jan 2025 16:35:55 +0000 (08:35 -0800)]
Use @latest version of packages in test page.

4 days agoPatch version. v1.2.3
Chris Duncan [Mon, 13 Jan 2025 15:40:35 +0000 (07:40 -0800)]
Patch version.

4 days agoReorganize typings.
Chris Duncan [Mon, 13 Jan 2025 15:38:43 +0000 (07:38 -0800)]
Reorganize typings.

4 days agoRefactor pipeline to use tsc to generate definition files only and manually manage...
Chris Duncan [Mon, 13 Jan 2025 15:35:34 +0000 (07:35 -0800)]
Refactor pipeline to use tsc to generate definition files only and manually manage the global types.

4 days agoScrap imports since it is messing up definition files.
Chris Duncan [Mon, 13 Jan 2025 14:52:16 +0000 (06:52 -0800)]
Scrap imports since it is messing up definition files.

5 days agoPatch version. v1.2.2
Chris Duncan [Mon, 13 Jan 2025 00:33:48 +0000 (16:33 -0800)]
Patch version.

5 days agoFix build process.
Chris Duncan [Mon, 13 Jan 2025 00:32:35 +0000 (16:32 -0800)]
Fix build process.

5 days agoPatch version. v1.2.1
Chris Duncan [Sun, 12 Jan 2025 23:51:49 +0000 (15:51 -0800)]
Patch version.

5 days agoFix npm entry point.
Chris Duncan [Sun, 12 Jan 2025 23:50:42 +0000 (15:50 -0800)]
Fix npm entry point.

5 days agoUpdate version. v1.2.0
Chris Duncan [Sun, 12 Jan 2025 23:44:50 +0000 (15:44 -0800)]
Update version.

5 days agoExpand on build steps.
Chris Duncan [Sun, 12 Jan 2025 23:41:43 +0000 (15:41 -0800)]
Expand on build steps.

5 days agoUpdate README with new features and improved grammar.
Chris Duncan [Sun, 12 Jan 2025 23:37:35 +0000 (15:37 -0800)]
Update README with new features and improved grammar.

5 days agoTruncating 2 or fewer tests does not make sense.
Chris Duncan [Sun, 12 Jan 2025 23:16:07 +0000 (15:16 -0800)]
Truncating 2 or fewer tests does not make sense.

5 days agoChange testing output based on which API is loaded. Show a little more context on...
Chris Duncan [Sun, 12 Jan 2025 23:13:59 +0000 (15:13 -0800)]
Change testing output based on which API is loaded. Show a little more context on testing progress.

5 days agoAdd test for NanoPow smart class selection.
Chris Duncan [Sun, 12 Jan 2025 22:45:03 +0000 (14:45 -0800)]
Add test for NanoPow smart class selection.

5 days agoAlias NanoPow directly to best supported class instead of trying to extract class...
Chris Duncan [Sun, 12 Jan 2025 22:44:03 +0000 (14:44 -0800)]
Alias NanoPow directly to best supported class instead of trying to extract class methods which causes issues with private methods.

5 days agoFix regex for GL arg validation.
Chris Duncan [Sun, 12 Jan 2025 22:43:10 +0000 (14:43 -0800)]
Fix regex for GL arg validation.

5 days agoFix boolean handling in GL query result check.
Chris Duncan [Sun, 12 Jan 2025 22:42:34 +0000 (14:42 -0800)]
Fix boolean handling in GL query result check.

5 days agoFix imports for test page.
Chris Duncan [Sun, 12 Jan 2025 22:40:50 +0000 (14:40 -0800)]
Fix imports for test page.

5 days agoUse main to define API. Pollute global namespace further with new NanoPow encapsulati...
Chris Duncan [Sun, 12 Jan 2025 22:08:16 +0000 (14:08 -0800)]
Use main to define API. Pollute global namespace further with new NanoPow encapsulating object. Fix test of validate function.

5 days agoCreate initial validate function for GL. Refactor classes export to create a better...
Chris Duncan [Sun, 12 Jan 2025 20:00:21 +0000 (12:00 -0800)]
Create initial validate function for GL. Refactor classes export to create a better fallback mechanism.

5 days agoMove private method above public.
Chris Duncan [Sun, 12 Jan 2025 19:48:05 +0000 (11:48 -0800)]
Move private method above public.

5 days agoMove private methods above public.
Chris Duncan [Sun, 12 Jan 2025 19:46:00 +0000 (11:46 -0800)]
Move private methods above public.

5 days agoRemove unused static GPU initiatlization since it will be initialized in the classes...
Chris Duncan [Sun, 12 Jan 2025 19:45:23 +0000 (11:45 -0800)]
Remove unused static GPU initiatlization since it will be initialized in the classes export barrel. Convert GL initialization similarly. Make GL unexported functions private.

6 days agoInitial attempt at creating fallback to GL.
Chris Duncan [Sun, 12 Jan 2025 08:36:10 +0000 (00:36 -0800)]
Initial attempt at creating fallback to GL.

6 days agoFix CDN link.
Chris Duncan [Sun, 12 Jan 2025 08:04:16 +0000 (00:04 -0800)]
Fix CDN link.

6 days agoUpdate version. v1.1.0
Chris Duncan [Sun, 12 Jan 2025 07:58:22 +0000 (23:58 -0800)]
Update version.

6 days agoUpdate tagline.
Chris Duncan [Sun, 12 Jan 2025 07:57:11 +0000 (23:57 -0800)]
Update tagline.

6 days agoUpdate README describing new validate function.
Chris Duncan [Sun, 12 Jan 2025 07:54:00 +0000 (23:54 -0800)]
Update README describing new validate function.

6 days agoReduce test count to a more reasonable number for a default run. Add some text to...
Chris Duncan [Sun, 12 Jan 2025 07:50:19 +0000 (23:50 -0800)]
Reduce test count to a more reasonable number for a default run. Add some text to show user which lib is being tested. Tweak JSdoc.

6 days agoReplace search shared code with dispatch call.
Chris Duncan [Sun, 12 Jan 2025 07:33:14 +0000 (23:33 -0800)]
Replace search shared code with dispatch call.

6 days agoReplace validate shared code with dispatch call.
Chris Duncan [Sun, 12 Jan 2025 07:28:15 +0000 (23:28 -0800)]
Replace validate shared code with dispatch call.

6 days agoExtract common functionality into separate function call.
Chris Duncan [Sun, 12 Jan 2025 07:16:55 +0000 (23:16 -0800)]
Extract common functionality into separate function call.

6 days agoDouble up random value to pass in entire u64 value.
Chris Duncan [Sun, 12 Jan 2025 07:13:02 +0000 (23:13 -0800)]
Double up random value to pass in entire u64 value.

6 days agoDocument suggestion for local dev testing.
Chris Duncan [Sun, 12 Jan 2025 06:59:09 +0000 (22:59 -0800)]
Document suggestion for local dev testing.

6 days agoAdd validate function to check passed nonces.
Chris Duncan [Sun, 12 Jan 2025 06:57:56 +0000 (22:57 -0800)]
Add validate function to check passed nonces.

6 days agoExtend random input to shader to accomodate validation of nonces.
Chris Duncan [Sun, 12 Jan 2025 06:11:10 +0000 (22:11 -0800)]
Extend random input to shader to accomodate validation of nonces.

7 days agoRelease version. v1.0.0
Chris Duncan [Sat, 11 Jan 2025 07:39:56 +0000 (23:39 -0800)]
Release version.

7 days agoAdd link to package and color it. Tweak heading text.
Chris Duncan [Sat, 11 Jan 2025 07:34:00 +0000 (23:34 -0800)]
Add link to package and color it. Tweak heading text.

7 days agoIncrease test run.
Chris Duncan [Sat, 11 Jan 2025 07:28:55 +0000 (23:28 -0800)]
Increase test run.

7 days agoFix typo.
Chris Duncan [Sat, 11 Jan 2025 07:23:20 +0000 (23:23 -0800)]
Fix typo.

7 days agoTweak timing output and add some context for the viewer.
Chris Duncan [Sat, 11 Jan 2025 07:21:07 +0000 (23:21 -0800)]
Tweak timing output and add some context for the viewer.

7 days agoFix CDN link.
Chris Duncan [Sat, 11 Jan 2025 07:16:08 +0000 (23:16 -0800)]
Fix CDN link.

7 days agoDocument global namespace option in README.
Chris Duncan [Sat, 11 Jan 2025 07:13:48 +0000 (23:13 -0800)]
Document global namespace option in README.

7 days agoPoint remote lib to published version on CDN instead of git repo.
Chris Duncan [Sat, 11 Jan 2025 07:10:40 +0000 (23:10 -0800)]
Point remote lib to published version on CDN instead of git repo.

7 days agoUpdate README. v0.0.1
Chris Duncan [Sat, 11 Jan 2025 07:03:01 +0000 (23:03 -0800)]
Update README.

7 days agoIgnore build artifacts.
Chris Duncan [Sat, 11 Jan 2025 06:02:40 +0000 (22:02 -0800)]
Ignore build artifacts.

7 days agoRemove build artifacts.
Chris Duncan [Sat, 11 Jan 2025 06:02:26 +0000 (22:02 -0800)]
Remove build artifacts.

7 days agoFix typo. Ignore build artifacts.
Chris Duncan [Sat, 11 Jan 2025 06:00:57 +0000 (22:00 -0800)]
Fix typo. Ignore build artifacts.

7 days agoAdjust SPDX headers.
Chris Duncan [Sat, 11 Jan 2025 05:58:37 +0000 (21:58 -0800)]
Adjust SPDX headers.

7 days agoDeprecate unnecessary test tooling file and just include the few functions being...
Chris Duncan [Sat, 11 Jan 2025 05:50:42 +0000 (21:50 -0800)]
Deprecate unnecessary test tooling file and just include the few functions being used in the test page itself.

7 days agoAdd some more context to testing page.
Chris Duncan [Sat, 11 Jan 2025 05:47:40 +0000 (21:47 -0800)]
Add some more context to testing page.

7 days agoTry to log WebGPU errors to catch iOS timing out.
Chris Duncan [Sat, 11 Jan 2025 05:37:29 +0000 (21:37 -0800)]
Try to log WebGPU errors to catch iOS timing out.

7 days agoAdd absolute paths to git repo files.
Chris Duncan [Sat, 11 Jan 2025 05:29:34 +0000 (21:29 -0800)]
Add absolute paths to git repo files.

7 days agoFinalize testing page. Track dist folder so that mobile testing can see its files.
Chris Duncan [Sat, 11 Jan 2025 05:23:02 +0000 (21:23 -0800)]
Finalize testing page. Track dist folder so that mobile testing can see its files.

7 days agoAvoid gt/lt in innerHTML.
Chris Duncan [Sat, 11 Jan 2025 04:02:21 +0000 (20:02 -0800)]
Avoid gt/lt in innerHTML.

7 days agoInitial move to webpage for test output.
Chris Duncan [Sat, 11 Jan 2025 04:00:06 +0000 (20:00 -0800)]
Initial move to webpage for test output.

7 days agoFix year.
Chris Duncan [Sat, 11 Jan 2025 02:25:49 +0000 (18:25 -0800)]
Fix year.

7 days agoCopy README from libnemo which will need to be rewritten. Add nano-webgl-js to devdep...
Chris Duncan [Fri, 10 Jan 2025 23:26:00 +0000 (15:26 -0800)]
Copy README from libnemo which will need to be rewritten. Add nano-webgl-js to devdeps for comparison testing. Extract random hash generation to test config file.

7 days agoRename compute shader and remove old version.
Chris Duncan [Fri, 10 Jan 2025 23:13:24 +0000 (15:13 -0800)]
Rename compute shader and remove old version.

7 days agoClean up unneeded files. Convert compute shader into .wgsl file supported by esbuild...
Chris Duncan [Fri, 10 Jan 2025 23:03:14 +0000 (15:03 -0800)]
Clean up unneeded files. Convert compute shader into .wgsl file supported by esbuild plugin. Update copyright notices. Rewrite test file and page.

7 days agoUpdate devdeps. Formatting for linebreak.
Chris Duncan [Fri, 10 Jan 2025 18:18:29 +0000 (10:18 -0800)]
Update devdeps. Formatting for linebreak.

7 days agoIncrease max workgroup size and remove a dispatch dimension in order to compute more...
Chris Duncan [Fri, 10 Jan 2025 16:16:34 +0000 (08:16 -0800)]
Increase max workgroup size and remove a dispatch dimension in order to compute more in parallel as well as simplify nonce construction.

7 days agoUpdate copyright notices.
Chris Duncan [Fri, 10 Jan 2025 01:01:22 +0000 (17:01 -0800)]
Update copyright notices.

7 days agoInitial commit. Repo is mainly copied from ongoing work in libnemo so this will need...
Chris Duncan [Fri, 10 Jan 2025 00:16:18 +0000 (16:16 -0800)]
Initial commit. Repo is mainly copied from ongoing work in libnemo so this will need cleanup.