]>
zoso.dev Git - nano-pow.git/log
Chris Duncan [Tue, 14 Jan 2025 21:49:58 +0000 (13:49 -0800)]
Remove last instances of original v scalar variables.
Chris Duncan [Tue, 14 Jan 2025 21:47:23 +0000 (13:47 -0800)]
Replace remaining 32-bit rotations.
Chris Duncan [Tue, 14 Jan 2025 21:43:35 +0000 (13:43 -0800)]
Replace another 32-bit rotation.
Chris Duncan [Tue, 14 Jan 2025 21:41:45 +0000 (13:41 -0800)]
The 32-bit rotate was not correctly or completely implemented like the other rotations due to getting fooled by the simplicity. Start fixing starting with v[24-25].
Chris Duncan [Tue, 14 Jan 2025 21:33:56 +0000 (13:33 -0800)]
Clean up whitespace in round 0 to get a better idea of why other scalars are in use.
Chris Duncan [Tue, 14 Jan 2025 21:28:27 +0000 (13:28 -0800)]
Remove unused v20-23 scalars.
Chris Duncan [Tue, 14 Jan 2025 21:27:27 +0000 (13:27 -0800)]
Remove last usage of v5-7 scalars.
Chris Duncan [Tue, 14 Jan 2025 21:26:34 +0000 (13:26 -0800)]
Remove last usage of v4 scalar.
Chris Duncan [Tue, 14 Jan 2025 21:26:09 +0000 (13:26 -0800)]
Remove last usage of v3 scalar.
Chris Duncan [Tue, 14 Jan 2025 21:25:33 +0000 (13:25 -0800)]
Remove last usage of v2 scalar.
Chris Duncan [Tue, 14 Jan 2025 21:21:13 +0000 (13:21 -0800)]
Delete unused o0 and o1 scalar variables.
Chris Duncan [Tue, 14 Jan 2025 21:20:37 +0000 (13:20 -0800)]
Replace remaining m scalar operations.
Chris Duncan [Tue, 14 Jan 2025 21:17:09 +0000 (13:17 -0800)]
Replace more m scalar operations.
Chris Duncan [Tue, 14 Jan 2025 21:14:27 +0000 (13:14 -0800)]
Replace more m scalar operations.
Chris Duncan [Tue, 14 Jan 2025 21:03:10 +0000 (13:03 -0800)]
Start replacing m scalar operations.
Chris Duncan [Tue, 14 Jan 2025 20:51:35 +0000 (12:51 -0800)]
Remove last usage of v1 scalar.
Chris Duncan [Tue, 14 Jan 2025 20:45:15 +0000 (12:45 -0800)]
Remove unnecessary v[20-23] scalar assignments.
Chris Duncan [Tue, 14 Jan 2025 20:44:34 +0000 (12:44 -0800)]
Remove unnecessary v[12-19] scalar assignments.
Chris Duncan [Tue, 14 Jan 2025 20:43:58 +0000 (12:43 -0800)]
Remove unnecessary v[8-11] scalar assignments.
Chris Duncan [Tue, 14 Jan 2025 20:18:07 +0000 (12:18 -0800)]
Remove unnecessary v[8-9] scalars.
Chris Duncan [Tue, 14 Jan 2025 20:14:09 +0000 (12:14 -0800)]
Remove unnecessary v[20-23] scalars.
Chris Duncan [Tue, 14 Jan 2025 20:11:58 +0000 (12:11 -0800)]
Remove unnecessary v[12-19] scalars.
Chris Duncan [Tue, 14 Jan 2025 20:10:48 +0000 (12:10 -0800)]
Remove unnecessary v[10-11] scalars.
Chris Duncan [Tue, 14 Jan 2025 20:07:31 +0000 (12:07 -0800)]
Remove unnecessary v0 scalar.
Chris Duncan [Tue, 14 Jan 2025 20:05:02 +0000 (12:05 -0800)]
Replace remaining scalar of threshold comaparison with vector variable.
Chris Duncan [Tue, 14 Jan 2025 20:03:43 +0000 (12:03 -0800)]
Remove extraneous comments since operations are getting deprecated with implementation of vector math.
Chris Duncan [Tue, 14 Jan 2025 20:00:18 +0000 (12:00 -0800)]
Remove deprecated xor0 and xor1 variables.
Chris Duncan [Tue, 14 Jan 2025 19:59:34 +0000 (11:59 -0800)]
Replace rest of 63-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:52:50 +0000 (11:52 -0800)]
Replace some 63-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:40:47 +0000 (11:40 -0800)]
Replace rest of 16-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:34:21 +0000 (11:34 -0800)]
Replace some 16-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:31:22 +0000 (11:31 -0800)]
Replace more 24-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:30:29 +0000 (11:30 -0800)]
Replace more 24-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:29:22 +0000 (11:29 -0800)]
Replace more 24-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:28:01 +0000 (11:28 -0800)]
Replace more 24-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:26:53 +0000 (11:26 -0800)]
Replace more 24-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:25:37 +0000 (11:25 -0800)]
Replace more 24-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:24:20 +0000 (11:24 -0800)]
Replace more 24-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:22:50 +0000 (11:22 -0800)]
Replace more 24-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:20:39 +0000 (11:20 -0800)]
Replace some 24-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 19:20:20 +0000 (11:20 -0800)]
Add vector variable for storing XOR results during rotations.
Chris Duncan [Tue, 14 Jan 2025 18:49:23 +0000 (10:49 -0800)]
Replace more 32-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 18:47:56 +0000 (10:47 -0800)]
Replace more 32-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 18:46:26 +0000 (10:46 -0800)]
Replace more 32-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 18:45:08 +0000 (10:45 -0800)]
Replace more 32-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 18:42:22 +0000 (10:42 -0800)]
Replace more 32-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 18:31:48 +0000 (10:31 -0800)]
Replace more 32-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 17:55:48 +0000 (09:55 -0800)]
Fix rotation assignments for interim values while converting scalar to vector.
Chris Duncan [Tue, 14 Jan 2025 17:50:15 +0000 (09:50 -0800)]
Replace some 32-bit scalar rotations with vector rotations.
Chris Duncan [Tue, 14 Jan 2025 17:42:54 +0000 (09:42 -0800)]
Replace scalar in threshold check with vector component.
Chris Duncan [Tue, 14 Jan 2025 17:41:45 +0000 (09:41 -0800)]
Remove unneeded v_01 vector assignments.
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.
Chris Duncan [Tue, 14 Jan 2025 16:47:55 +0000 (08:47 -0800)]
Add calculation rate to benchmarks.
Chris Duncan [Tue, 14 Jan 2025 16:36:29 +0000 (08:36 -0800)]
Replace 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.
Chris Duncan [Tue, 14 Jan 2025 16:31:19 +0000 (08:31 -0800)]
Replace 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.
Chris Duncan [Tue, 14 Jan 2025 16:26:17 +0000 (08:26 -0800)]
Repalce 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.
Chris Duncan [Tue, 14 Jan 2025 16:21:51 +0000 (08:21 -0800)]
Replace 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.
Chris Duncan [Tue, 14 Jan 2025 16:16:14 +0000 (08:16 -0800)]
Replace 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.
Chris Duncan [Tue, 14 Jan 2025 15:21:17 +0000 (07:21 -0800)]
Cancel test if validate is not working.
Chris Duncan [Tue, 14 Jan 2025 15:08:19 +0000 (07:08 -0800)]
Replace more scalar addition with vector addition.
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.
Chris Duncan [Tue, 14 Jan 2025 06:11:49 +0000 (22:11 -0800)]
Add remaining compression buffer values as vectors.
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.
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.
Chris Duncan [Mon, 13 Jan 2025 21:38:51 +0000 (13:38 -0800)]
Patch version.
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.
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.
Chris Duncan [Mon, 13 Jan 2025 17:53:37 +0000 (09:53 -0800)]
Fix combined reference to NanoPow either locally or remotely.
Chris Duncan [Mon, 13 Jan 2025 16:35:55 +0000 (08:35 -0800)]
Use @latest version of packages in test page.
Chris Duncan [Mon, 13 Jan 2025 15:40:35 +0000 (07:40 -0800)]
Patch version.
Chris Duncan [Mon, 13 Jan 2025 15:38:43 +0000 (07:38 -0800)]
Reorganize typings.
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.
Chris Duncan [Mon, 13 Jan 2025 14:52:16 +0000 (06:52 -0800)]
Scrap imports since it is messing up definition files.
Chris Duncan [Mon, 13 Jan 2025 00:33:48 +0000 (16:33 -0800)]
Patch version.
Chris Duncan [Mon, 13 Jan 2025 00:32:35 +0000 (16:32 -0800)]
Fix build process.
Chris Duncan [Sun, 12 Jan 2025 23:51:49 +0000 (15:51 -0800)]
Patch version.
Chris Duncan [Sun, 12 Jan 2025 23:50:42 +0000 (15:50 -0800)]
Fix npm entry point.
Chris Duncan [Sun, 12 Jan 2025 23:44:50 +0000 (15:44 -0800)]
Update version.
Chris Duncan [Sun, 12 Jan 2025 23:41:43 +0000 (15:41 -0800)]
Expand on build steps.
Chris Duncan [Sun, 12 Jan 2025 23:37:35 +0000 (15:37 -0800)]
Update README with new features and improved grammar.
Chris Duncan [Sun, 12 Jan 2025 23:16:07 +0000 (15:16 -0800)]
Truncating 2 or fewer tests does not make sense.
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.
Chris Duncan [Sun, 12 Jan 2025 22:45:03 +0000 (14:45 -0800)]
Add test for NanoPow smart class selection.
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.
Chris Duncan [Sun, 12 Jan 2025 22:43:10 +0000 (14:43 -0800)]
Fix regex for GL arg validation.
Chris Duncan [Sun, 12 Jan 2025 22:42:34 +0000 (14:42 -0800)]
Fix boolean handling in GL query result check.
Chris Duncan [Sun, 12 Jan 2025 22:40:50 +0000 (14:40 -0800)]
Fix imports for test page.
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.
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.
Chris Duncan [Sun, 12 Jan 2025 19:48:05 +0000 (11:48 -0800)]
Move private method above public.
Chris Duncan [Sun, 12 Jan 2025 19:46:00 +0000 (11:46 -0800)]
Move private methods above public.
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.
Chris Duncan [Sun, 12 Jan 2025 08:36:10 +0000 (00:36 -0800)]
Initial attempt at creating fallback to GL.
Chris Duncan [Sun, 12 Jan 2025 08:04:16 +0000 (00:04 -0800)]
Fix CDN link.
Chris Duncan [Sun, 12 Jan 2025 07:58:22 +0000 (23:58 -0800)]
Update version.