matrix-accelerate (empty) → 0.2.0.0
raw patch · 229 files changed
+1384/−0 lines, 229 filesdep +acceleratedep +basedep +lens-acceleratesetup-changedbinary-added
Dependencies added: accelerate, base, lens-accelerate
Files
- .git/COMMIT_EDITMSG +1/−0
- .git/HEAD +1/−0
- .git/config +18/−0
- .git/description +1/−0
- .git/hooks/applypatch-msg.sample +15/−0
- .git/hooks/commit-msg.sample +24/−0
- .git/hooks/fsmonitor-watchman.sample +174/−0
- .git/hooks/post-update.sample +8/−0
- .git/hooks/pre-applypatch.sample +14/−0
- .git/hooks/pre-commit.sample +49/−0
- .git/hooks/pre-merge-commit.sample +13/−0
- .git/hooks/pre-push.sample +53/−0
- .git/hooks/pre-rebase.sample +169/−0
- .git/hooks/pre-receive.sample +24/−0
- .git/hooks/prepare-commit-msg.sample +42/−0
- .git/hooks/push-to-checkout.sample +78/−0
- .git/hooks/sendemail-validate.sample +77/−0
- .git/hooks/update.sample +128/−0
- .git/index binary
- .git/info/exclude +6/−0
- .git/logs/HEAD +26/−0
- .git/logs/refs/heads/main +26/−0
- .git/logs/refs/remotes/github-https/HEAD +1/−0
- .git/logs/refs/remotes/github-https/main +3/−0
- .git/logs/refs/remotes/github/HEAD +1/−0
- .git/logs/refs/remotes/github/main +18/−0
- .git/objects/02/94b3b280363b4ca61b5d075eaba0436692219a binary
- .git/objects/07/dfb67f901153c964e91c4766070ed6f1ae00aa binary
- .git/objects/08/b58629601f7c4857c38aa2e138bce015e5bba2 binary
- .git/objects/09/d6f3a58cd8615715bb49d88fb86116d509bd01 binary
- .git/objects/0a/4f14a70815eabd6aec8e7889d435d96d145e4d binary
- .git/objects/0c/41f04b34abc9a8c88e4012b8c320f611b4984a binary
- .git/objects/0c/6104f123c2b7e8f399c8434edcedf23faea011 binary
- .git/objects/0d/7af0dc513491ea0f2f0a36460c012860bf69d5 binary
- .git/objects/0f/8827235e32e8fb51809b43634904c1430d8661 binary
- .git/objects/14/1aa109b2ba55e9478972cdd1783582bf0a0107 binary
- .git/objects/14/292258e7e5ee8aaa3fbf814d4c3ca3166a506c binary
- .git/objects/14/eba36d1c37cc790f287f9158c912c2d7f4078d binary
- .git/objects/14/faaf565e7d53314a39be55dc2624c44ab3dd18 binary
- .git/objects/15/81f2e0d66bc73b91ebe16698fcdb14427d5b2a +1/−0
- .git/objects/16/ece01816f15d2e4c849450390599e02f711919 binary
- .git/objects/17/9682e9aec998b21cf7b21b2a4597e18e8dea47 binary
- .git/objects/1a/ed7da171f6f077c2b6e8cd53c19c75de8b6a27 binary
- .git/objects/1b/8a75ee74b94bbeaa77bcfb020908abb588dba3 binary
- .git/objects/1d/d0fe4ffeb35a6c1631cbad870888053dc8b091 binary
- .git/objects/1e/0c8d1afe38f6124c2599fa1d671e3d73c026fb binary
- .git/objects/20/3d0a5402c876124bb5c937203f2363a24f4ad5 +1/−0
- .git/objects/22/448e553b5f6a69f4ee99e75060dd8243a7caa5 binary
- .git/objects/22/53017a746779c9f897fb00680332f84345f121 binary
- .git/objects/24/7a11f2e97624be1dd31b5248656b224aa16a01 binary
- .git/objects/25/0c4a3c7c8864608e676beafd103c0a6f0a08c9 binary
- .git/objects/25/c03414a1efee75329b8368c97ba8b1405c98a0 binary
- .git/objects/27/fd34f8960d35b649e375c7a31ad8a79a0e20dd binary
- .git/objects/28/8cafde82351924821bb913e47efa3f0407bfba binary
- .git/objects/2b/7062b566187877c6c513edb6eb2ce09826e8d3 binary
- .git/objects/2b/72072ff97fb9c1dea17c72e2c73e933a6bbbe2 binary
- .git/objects/2c/0754f27ff2dd74f5c2b9b4df8508c6df72343e binary
- .git/objects/2c/890c94fd27e735d93f68479af3fe99dd54f212 binary
- .git/objects/2c/bd4928ab58b7039d56556987cab5fc731e560a binary
- .git/objects/2c/caeb0d412818f0d3168f81499753f99701085c binary
- .git/objects/30/1e12451f4182b4dca1ba4fdc4ee49d629183f8 binary
- .git/objects/33/f241cfa4e1b8a642b299329cb7634ca47f6372 binary
- .git/objects/34/cf03264982c950f99a3a62299b244704d70d34 binary
- .git/objects/37/f55b697e22a4318c451ffb1bace9912e1a11dc binary
- .git/objects/38/4e4d986898f2db22219d04c95a39a6798b3318 binary
- .git/objects/39/66dbba18badd5a31c000187393cace0fa90d42 binary
- .git/objects/39/f5080b4afddd11955f8bf62a0ed4e6669d7155 binary
- .git/objects/3e/378a8faf7430593afe9af9a903f175ed2cdd29 binary
- .git/objects/42/a39ef5ce48d3e37be85ba3e42f3e5c292ca116 binary
- .git/objects/43/bda6a57f3c607d33a720732a2a232ea301617d binary
- .git/objects/43/ef69d25773edf4a96823f8737da3652d9e9085 binary
- .git/objects/46/ce200b9e0e817d327eae1eda708888235d1568 binary
- .git/objects/46/d92151b75ff06365621429119f0cea7df73562 binary
- .git/objects/48/9b4169d103ada9102762a1171492cf0d82bea4 binary
- .git/objects/4a/5a63fe7e3155890eb616d1f395ff705a0286f3 binary
- .git/objects/4b/72ed456b4b1aaebccd90baf74a75e422536f22 +1/−0
- .git/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904 binary
- .git/objects/4d/393dc70e27f894400bb612dfc98b1e1a7e82f6 binary
- .git/objects/4d/87e79112c44f6adc3db85373cd5d398908c966 binary
- .git/objects/4d/c889a1988c4f34ceecf2f976a39534f368ac0f binary
- .git/objects/56/65b7c96d2a75ca567d4cb3e160ff8b93134b24 binary
- .git/objects/5a/2be58dffb2fd1d242be10613cb945521a93854 binary
- .git/objects/5a/391b0d9f89ff0d9067cab65dad7a9826c2c578 binary
- .git/objects/62/09b735e3e03c3ec71e6e047ae28aeaa4d9bd56 binary
- .git/objects/62/4bc530a0f326c04268e89b486a78269a329d37 binary
- .git/objects/63/e3e73c378ca2a6e32f0f7e8c059359e66915c0 binary
- .git/objects/64/27efe34ca131a5386ca555e7465efb61aae802 +1/−0
- .git/objects/64/9cd7673752e1d94449a1845ba45db4dc50e11b binary
- .git/objects/64/a587aeab8ee7c5a35a44c9f6969b8a2801ebbd binary
- .git/objects/66/0a56225f67d1dc97b858f2475eaeab444dfbbe binary
- .git/objects/67/b8b6f77b8d395250390839c45001ca0815cb94 binary
- .git/objects/67/ec4ba5c1ed358c9b7feba73d12f55cd0f2a6d7 binary
- .git/objects/68/3e11d81c1b3762de227fc2d7a38c15aeb74f41 binary
- .git/objects/68/e789799e39f9f75904ab088e7b14e814759caf binary
- .git/objects/6a/367019abcaf55bdfcc6a52b3b9762504724ce9 binary
- .git/objects/6c/2265e5da86301db7e612f2cc9f6e8493d229f2 binary
- .git/objects/6c/40b72a939ab048e3124075331153630acfb07b binary
- .git/objects/6c/43fbf3419bb3c1f3dd7b9b57982bd22dfc8532 binary
- .git/objects/6d/d30f8ffd6419efbf0e268ff9ac44968d666b17 binary
- .git/objects/6f/2a3fcc4b18ddec73726ea4a2b57cf57c6426da binary
- .git/objects/70/a4c43db34de6c9ac8c60a6221092b6fec79baf binary
- .git/objects/71/1d362d829dc822a725388c1d7918abbcf1157a binary
- .git/objects/73/f736b87c0277365f2d7bff84784e664907c762 binary
- .git/objects/75/9ab5a6c62c777cad32e7f14b5f5aed53e3640c binary
- .git/objects/75/a134e391075485740fcc5aef9be4eab18abb27 binary
- .git/objects/79/8f9cb58c71e49c891d2492036ee1660ad7fc67 binary
- .git/objects/79/b1550593112c098619cafdce23c0eb2efbc0fa binary
- .git/objects/79/c7e5c2ef4939d05c6e732c968377a2f5485a27 binary
- .git/objects/7d/3ede35873747500bb8320a90fd16d157731805 binary
- .git/objects/80/6d049c826a174ce1e3b599f0316468b86e7462 binary
- .git/objects/83/84014cf5521ea6118c7d7ece6c603eb452f62d binary
- .git/objects/84/2f450ae5dde3a3447ce23d19d10326ec37dcad binary
- .git/objects/85/4b99fac41cfaf61cb1f1ce8c4fb90ecbc525d8 binary
- .git/objects/85/b048c933f4fe161a51820285a4865fb4b19272 binary
- .git/objects/8a/c2b557116032e7da4f2fae6b118434c4f9c7f3 binary
- .git/objects/8c/284f426aa38cdb9e9a9019a02493d6595aa982 binary
- .git/objects/8c/7fd866ac102e39dc4e972a42342949050c9957 binary
- .git/objects/8c/efaaf5279cbe7678c8559fed5560461b3617ee binary
- .git/objects/93/762374223b16926fa9bebe0e26018040978a0b binary
- .git/objects/93/9dbbddd2c4160f69c70e9839a13b044e29a824 binary
- .git/objects/93/a59d330b2d8beb5114dbedbe4f28df76b5d838 binary
- .git/objects/93/af8f63f682ee549ac1c718420fea1858969469 +3/−0
- .git/objects/94/03caff420aee59c3499a070ff26c48ac392ed9 +2/−0
- .git/objects/94/3610b73056a4d701b24b5e2377e7f268c03d65 binary
- .git/objects/95/042688bd1a20559ee74d698e40a8c95f645852 binary
- .git/objects/96/38ddc6cd2674bb9f290a8c38ec4e9202822d90 binary
- .git/objects/97/6f0879852c2a9820943b8fb816d5171e5594a1 binary
- .git/objects/98/4da47bc015d944fea6452239bb821362e3bc58 binary
- .git/objects/98/51ffddbb7810f9efb78b76c85e512d64bcff60 binary
- .git/objects/98/83cf3ae8dcbf8608f0e1980ea178941601c0e9 binary
- .git/objects/98/d2cee57af1b96365e42429808a57c190c50101 binary
- .git/objects/99/263996f9931d1080f31ab7015efb763fb54647 binary
- .git/objects/99/6e72d043750d0b4a775292f9eb4fe1cf8c8627 binary
- .git/objects/9a/994af677b0dfd41b4e3b76b3e7e604003d64e1 binary
- .git/objects/9b/08a5095430d7a0ae20cfdc0cac32806b11a23f binary
- .git/objects/9b/292b5e83ae1db23d67b8dd2b15ee5fc347015d binary
- .git/objects/9b/5e7ef7a51f1aca00a9562e7829197d10619edd binary
- .git/objects/9b/8e6e19ae17ff7b176db0a8803eaf2262cfdd76 binary
- .git/objects/9d/12dcd228318228ecde0e0501cdd796ff928fab binary
- .git/objects/a1/f528839efe3e1370de0172c9cdc4d1e8e2f14f binary
- .git/objects/a2/32a0fdf53a83c527c0d3e57f719f3798b3110d binary
- .git/objects/a3/14fa5a35ab2e20a5ab0b9bea06c5f0b5fc812b binary
- .git/objects/a3/32d7dbd54042735cef813af070650abac3a318 binary
- .git/objects/a3/bbab5281f486b79bfa9b7810a0e4da3b80bace +2/−0
- .git/objects/a4/ed04960511958eb89eea2a95c7f7f136cbd9e3 binary
- .git/objects/ae/fcda5cba6625db885ae4a438f82a88f708e665 binary
- .git/objects/af/2238213f29ce6f114dc0f93c1b8e7150c3a622 binary
- .git/objects/af/426d25bf1f40386870952db22f557d5ed437b0 binary
- .git/objects/af/6978a03d4cda73c9859082c13b10b99396a7d0 binary
- .git/objects/b1/1457e856d7d45e3725c7f0a538c6c1b85ff354 binary
- .git/objects/b5/bdba7f5a00cf31ea91d3947ffa4a02f29783a0 binary
- .git/objects/b5/dd154f06b7389674089da2534bc4cb4ca1ab66 binary
- .git/objects/b6/3a9cb144c1ef0051cfb3145b9169b95d05f2c3 binary
- .git/objects/ba/163f354f0b983ec8d5fce32a2833214f74ac85 binary
- .git/objects/ba/19ef5074c35cc5a31a72c85266e1a3dc400bb7 binary
- .git/objects/be/cbd1ca883f2711ada28c8a406b72e1ba4404ae binary
- .git/objects/bf/ede7cdda80a425f3f48ac5bc25e2d1c91b3ace binary
- .git/objects/c0/b7a8179fc1d96b98204aa7fa3712b1783780fc +1/−0
- .git/objects/c1/7e745c94b561e1572a461158442ed12625c383 binary
- .git/objects/c3/68d453bcdba8d4c085d94567fb0da522934695 binary
- .git/objects/c6/382623d5b09dd668f5ce465f82169f2bc4275c binary
- .git/objects/c7/0f95bea0e24549309132330147a9a09392fc46 binary
- .git/objects/c7/3f29514fcfa1721786f3c8873fe9d2e997a2d6 binary
- .git/objects/c8/e1a9a19c91373b5cac4b72517230d3d952d1db binary
- .git/objects/c9/a8908e4a0406c02a7c653b86e965d17ce8c370 binary
- .git/objects/cc/20e3d7d2d7168b1882787993b67b58ad807a7d binary
- .git/objects/cc/89307bd52cb103575241fee9cfbdbf8c5836ca binary
- .git/objects/cf/b20bb242a68ca3576f5a96c5873653d9cb359a binary
- .git/objects/d4/8456c72dc64820a627a990896b329c3734f82f binary
- .git/objects/d9/a5b5b2d3bb7928113f4a104ad90b0732625b93 binary
- .git/objects/d9/c1175078dceaf391e973addda8f8885126b61c binary
- .git/objects/da/5d64c67cd1dc761e3ada6a57275e92ecbfbeb3 binary
- .git/objects/da/af574608f9b5cdb213bd7804c26d9fadbd7808 binary
- .git/objects/db/68ce4fe95f29021eed7d8f0ea1b03140fba179 binary
- .git/objects/db/f4277b6dd5bfaa9aab6bacf2c466dd37313339 binary
- .git/objects/dc/3c453253003cf6a2b7ab0d70f0998a93e1d584 binary
- .git/objects/dc/de311a4e38dce898e21e77a9dde36c3591bbbd binary
- .git/objects/de/5042b8e5c7150df49a9756140d611794dac7e5 +1/−0
- .git/objects/e0/3e08521dcab1451b0d2dfc8bedf70391aae417 binary
- .git/objects/e0/458335df0613fffbe9c2f5ab642a8d93dc304a binary
- .git/objects/e0/807b0617f7c039ccaeef0952366bad2b36825f binary
- .git/objects/e1/41bfb17d76526bf7937640a3a10bc28fad83ab binary
- .git/objects/e1/552f222d846e5f37f6d65b600fffe06b9cd97d binary
- .git/objects/e1/860a5abfc6323ce9e8d88ccb018e6439c2a963 binary
- .git/objects/e3/83f2667dd1d3e26cb5839e714c5e2fcdf42bdc binary
- .git/objects/e4/b43ef566d272116eb421613c9483f41e63e949 binary
- .git/objects/e4/d4c32b81a54a080c77039468151322d406213c binary
- .git/objects/e6/abd588eb69973eeea29ac882b68333288ce478 binary
- .git/objects/e6/db385bd9755923a0f439c6117b37ac5a75b0c2 binary
- .git/objects/e6/ddb28ba39a920dd4e7b397d2180c3892a39aa5 binary
- .git/objects/e7/5848dd7a208832ac5f7f2fbab69c23a39f4cd0 binary
- .git/objects/e9/267aa05a122cf86d1cd7b002171eab781a7913 +2/−0
- .git/objects/e9/613f1380a6babbb0e31033118103ba6d666bef binary
- .git/objects/ea/617dec21d6716f24f3e6d7c5fa5acc9c5e77ba binary
- .git/objects/ea/955421d9a194e90dd044b250b3b059358f2b87 binary
- .git/objects/ed/14dfef638cf03f175cfd24c899d3607ab16653 binary
- .git/objects/ef/8cf2ace06eb1299aab693a404ddbb589852591 binary
- .git/objects/f2/5268097e5e4525599c451d025dc45b470dd14a binary
- .git/objects/f3/f6b87d160f1194badc8c0dc556340c59cf569d +3/−0
- .git/objects/f3/fd4fbf44112894a7191f5147ee3c9d1bdbcc1b binary
- .git/objects/f4/162798ce542576ad99ec35ba1b03db00b25b5a binary
- .git/objects/f4/fc59505c22bc69ddbe5ff176b5f6991bc80824 binary
- .git/objects/f8/44d452c1aa698690da51c57206f4001b552ec8 binary
- .git/objects/f9/2c250ebce8214903d48ca98864cc194c972dfd binary
- .git/objects/f9/c355b74ff38ed070e289fca45e9f15641e35f1 +5/−0
- .git/objects/fa/1c118e8addc082c733f8300775a9a4102a587c binary
- .git/objects/fc/6f490c703222df5b28eff8840fae3c5315865f binary
- .git/objects/fd/9b09dff536245fc782e2937ed849a2a1a9e1ab binary
- .git/refs/heads/main +1/−0
- .git/refs/remotes/github-https/HEAD +1/−0
- .git/refs/remotes/github-https/main +1/−0
- .git/refs/remotes/github/HEAD +1/−0
- .git/refs/remotes/github/main +1/−0
- .git/refs/tags/0.2.0.0 +1/−0
- .gitignore +2/−0
- CHANGELOG.md +11/−0
- LICENSE +30/−0
- README.md +3/−0
- Setup.hs +2/−0
- app/Main.hs +6/−0
- cabal.project +2/−0
- dist-newstyle/cache/compiler binary
- dist-newstyle/cache/config binary
- matrix-accelerate.cabal +56/−0
- package.yaml +47/−0
- src/Data/Array/Accelerate/Matrix.hs +132/−0
- stack.yaml +50/−0
- stack.yaml.lock +42/−0
- test/Spec.hs +2/−0
@@ -0,0 +1,1 @@+Add matZipWith Function
@@ -0,0 +1,1 @@+ref: refs/heads/main
@@ -0,0 +1,18 @@+[core]+ repositoryformatversion = 0+ filemode = true+ bare = false+ logallrefupdates = true+[gui]+ wmstate = normal+ geometry = 1920x999+0+27 349 443+[remote "github"]+ url = git@github.com:noahmartinwilliams/matrix-accelerate.git+ fetch = +refs/heads/*:refs/remotes/github/*+ gh-resolved = base+[branch "main"]+ remote = github+ merge = refs/heads/main+[remote "github-https"]+ url = https://github.com/noahmartinwilliams/matrix-accelerate.git+ fetch = +refs/heads/*:refs/remotes/github-https/*
@@ -0,0 +1,1 @@+Unnamed repository; edit this file 'description' to name the repository.
@@ -0,0 +1,15 @@+#!/bin/sh+#+# An example hook script to check the commit log message taken by+# applypatch from an e-mail message.+#+# The hook should exit with non-zero status after issuing an+# appropriate message if it wants to stop the commit. The hook is+# allowed to edit the commit message file.+#+# To enable this hook, rename this file to "applypatch-msg".++. git-sh-setup+commitmsg="$(git rev-parse --git-path hooks/commit-msg)"+test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"}+:
@@ -0,0 +1,24 @@+#!/bin/sh+#+# An example hook script to check the commit log message.+# Called by "git commit" with one argument, the name of the file+# that has the commit message. The hook should exit with non-zero+# status after issuing an appropriate message if it wants to stop the+# commit. The hook is allowed to edit the commit message file.+#+# To enable this hook, rename this file to "commit-msg".++# Uncomment the below to add a Signed-off-by line to the message.+# Doing this in a hook is a bad idea in general, but the prepare-commit-msg+# hook is more suited to it.+#+# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')+# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"++# This example catches duplicate Signed-off-by lines.++test "" = "$(grep '^Signed-off-by: ' "$1" |+ sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {+ echo >&2 Duplicate Signed-off-by lines.+ exit 1+}
@@ -0,0 +1,174 @@+#!/usr/bin/perl++use strict;+use warnings;+use IPC::Open2;++# An example hook script to integrate Watchman+# (https://facebook.github.io/watchman/) with git to speed up detecting+# new and modified files.+#+# The hook is passed a version (currently 2) and last update token+# formatted as a string and outputs to stdout a new update token and+# all files that have been modified since the update token. Paths must+# be relative to the root of the working tree and separated by a single NUL.+#+# To enable this hook, rename this file to "query-watchman" and set+# 'git config core.fsmonitor .git/hooks/query-watchman'+#+my ($version, $last_update_token) = @ARGV;++# Uncomment for debugging+# print STDERR "$0 $version $last_update_token\n";++# Check the hook interface version+if ($version ne 2) {+ die "Unsupported query-fsmonitor hook version '$version'.\n" .+ "Falling back to scanning...\n";+}++my $git_work_tree = get_working_dir();++my $retry = 1;++my $json_pkg;+eval {+ require JSON::XS;+ $json_pkg = "JSON::XS";+ 1;+} or do {+ require JSON::PP;+ $json_pkg = "JSON::PP";+};++launch_watchman();++sub launch_watchman {+ my $o = watchman_query();+ if (is_work_tree_watched($o)) {+ output_result($o->{clock}, @{$o->{files}});+ }+}++sub output_result {+ my ($clockid, @files) = @_;++ # Uncomment for debugging watchman output+ # open (my $fh, ">", ".git/watchman-output.out");+ # binmode $fh, ":utf8";+ # print $fh "$clockid\n@files\n";+ # close $fh;++ binmode STDOUT, ":utf8";+ print $clockid;+ print "\0";+ local $, = "\0";+ print @files;+}++sub watchman_clock {+ my $response = qx/watchman clock "$git_work_tree"/;+ die "Failed to get clock id on '$git_work_tree'.\n" .+ "Falling back to scanning...\n" if $? != 0;++ return $json_pkg->new->utf8->decode($response);+}++sub watchman_query {+ my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty')+ or die "open2() failed: $!\n" .+ "Falling back to scanning...\n";++ # In the query expression below we're asking for names of files that+ # changed since $last_update_token but not from the .git folder.+ #+ # To accomplish this, we're using the "since" generator to use the+ # recency index to select candidate nodes and "fields" to limit the+ # output to file names only. Then we're using the "expression" term to+ # further constrain the results.+ my $last_update_line = "";+ if (substr($last_update_token, 0, 1) eq "c") {+ $last_update_token = "\"$last_update_token\"";+ $last_update_line = qq[\n"since": $last_update_token,];+ }+ my $query = <<" END";+ ["query", "$git_work_tree", {$last_update_line+ "fields": ["name"],+ "expression": ["not", ["dirname", ".git"]]+ }]+ END++ # Uncomment for debugging the watchman query+ # open (my $fh, ">", ".git/watchman-query.json");+ # print $fh $query;+ # close $fh;++ print CHLD_IN $query;+ close CHLD_IN;+ my $response = do {local $/; <CHLD_OUT>};++ # Uncomment for debugging the watch response+ # open ($fh, ">", ".git/watchman-response.json");+ # print $fh $response;+ # close $fh;++ die "Watchman: command returned no output.\n" .+ "Falling back to scanning...\n" if $response eq "";+ die "Watchman: command returned invalid output: $response\n" .+ "Falling back to scanning...\n" unless $response =~ /^\{/;++ return $json_pkg->new->utf8->decode($response);+}++sub is_work_tree_watched {+ my ($output) = @_;+ my $error = $output->{error};+ if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) {+ $retry--;+ my $response = qx/watchman watch "$git_work_tree"/;+ die "Failed to make watchman watch '$git_work_tree'.\n" .+ "Falling back to scanning...\n" if $? != 0;+ $output = $json_pkg->new->utf8->decode($response);+ $error = $output->{error};+ die "Watchman: $error.\n" .+ "Falling back to scanning...\n" if $error;++ # Uncomment for debugging watchman output+ # open (my $fh, ">", ".git/watchman-output.out");+ # close $fh;++ # Watchman will always return all files on the first query so+ # return the fast "everything is dirty" flag to git and do the+ # Watchman query just to get it over with now so we won't pay+ # the cost in git to look up each individual file.+ my $o = watchman_clock();+ $error = $output->{error};++ die "Watchman: $error.\n" .+ "Falling back to scanning...\n" if $error;++ output_result($o->{clock}, ("/"));+ $last_update_token = $o->{clock};++ eval { launch_watchman() };+ return 0;+ }++ die "Watchman: $error.\n" .+ "Falling back to scanning...\n" if $error;++ return 1;+}++sub get_working_dir {+ my $working_dir;+ if ($^O =~ 'msys' || $^O =~ 'cygwin') {+ $working_dir = Win32::GetCwd();+ $working_dir =~ tr/\\/\//;+ } else {+ require Cwd;+ $working_dir = Cwd::cwd();+ }++ return $working_dir;+}
@@ -0,0 +1,8 @@+#!/bin/sh+#+# An example hook script to prepare a packed repository for use over+# dumb transports.+#+# To enable this hook, rename this file to "post-update".++exec git update-server-info
@@ -0,0 +1,14 @@+#!/bin/sh+#+# An example hook script to verify what is about to be committed+# by applypatch from an e-mail message.+#+# The hook should exit with non-zero status after issuing an+# appropriate message if it wants to stop the commit.+#+# To enable this hook, rename this file to "pre-applypatch".++. git-sh-setup+precommit="$(git rev-parse --git-path hooks/pre-commit)"+test -x "$precommit" && exec "$precommit" ${1+"$@"}+:
@@ -0,0 +1,49 @@+#!/bin/sh+#+# An example hook script to verify what is about to be committed.+# Called by "git commit" with no arguments. The hook should+# exit with non-zero status after issuing an appropriate message if+# it wants to stop the commit.+#+# To enable this hook, rename this file to "pre-commit".++if git rev-parse --verify HEAD >/dev/null 2>&1+then+ against=HEAD+else+ # Initial commit: diff against an empty tree object+ against=$(git hash-object -t tree /dev/null)+fi++# If you want to allow non-ASCII filenames set this variable to true.+allownonascii=$(git config --type=bool hooks.allownonascii)++# Redirect output to stderr.+exec 1>&2++# Cross platform projects tend to avoid non-ASCII filenames; prevent+# them from being added to the repository. We exploit the fact that the+# printable range starts at the space character and ends with tilde.+if [ "$allownonascii" != "true" ] &&+ # Note that the use of brackets around a tr range is ok here, (it's+ # even required, for portability to Solaris 10's /usr/bin/tr), since+ # the square bracket bytes happen to fall in the designated range.+ test $(git diff-index --cached --name-only --diff-filter=A -z $against |+ LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0+then+ cat <<\EOF+Error: Attempt to add a non-ASCII file name.++This can cause problems if you want to work with people on other platforms.++To be portable it is advisable to rename the file.++If you know what you are doing you can disable this check using:++ git config hooks.allownonascii true+EOF+ exit 1+fi++# If there are whitespace errors, print the offending file names and fail.+exec git diff-index --check --cached $against --
@@ -0,0 +1,13 @@+#!/bin/sh+#+# An example hook script to verify what is about to be committed.+# Called by "git merge" with no arguments. The hook should+# exit with non-zero status after issuing an appropriate message to+# stderr if it wants to stop the merge commit.+#+# To enable this hook, rename this file to "pre-merge-commit".++. git-sh-setup+test -x "$GIT_DIR/hooks/pre-commit" &&+ exec "$GIT_DIR/hooks/pre-commit"+:
@@ -0,0 +1,53 @@+#!/bin/sh++# An example hook script to verify what is about to be pushed. Called by "git+# push" after it has checked the remote status, but before anything has been+# pushed. If this script exits with a non-zero status nothing will be pushed.+#+# This hook is called with the following parameters:+#+# $1 -- Name of the remote to which the push is being done+# $2 -- URL to which the push is being done+#+# If pushing without using a named remote those arguments will be equal.+#+# Information about the commits which are being pushed is supplied as lines to+# the standard input in the form:+#+# <local ref> <local oid> <remote ref> <remote oid>+#+# This sample shows how to prevent push of commits where the log message starts+# with "WIP" (work in progress).++remote="$1"+url="$2"++zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')++while read local_ref local_oid remote_ref remote_oid+do+ if test "$local_oid" = "$zero"+ then+ # Handle delete+ :+ else+ if test "$remote_oid" = "$zero"+ then+ # New branch, examine all commits+ range="$local_oid"+ else+ # Update to existing branch, examine new commits+ range="$remote_oid..$local_oid"+ fi++ # Check for WIP commit+ commit=$(git rev-list -n 1 --grep '^WIP' "$range")+ if test -n "$commit"+ then+ echo >&2 "Found WIP commit in $local_ref, not pushing"+ exit 1+ fi+ fi+done++exit 0
@@ -0,0 +1,169 @@+#!/bin/sh+#+# Copyright (c) 2006, 2008 Junio C Hamano+#+# The "pre-rebase" hook is run just before "git rebase" starts doing+# its job, and can prevent the command from running by exiting with+# non-zero status.+#+# The hook is called with the following parameters:+#+# $1 -- the upstream the series was forked from.+# $2 -- the branch being rebased (or empty when rebasing the current branch).+#+# This sample shows how to prevent topic branches that are already+# merged to 'next' branch from getting rebased, because allowing it+# would result in rebasing already published history.++publish=next+basebranch="$1"+if test "$#" = 2+then+ topic="refs/heads/$2"+else+ topic=`git symbolic-ref HEAD` ||+ exit 0 ;# we do not interrupt rebasing detached HEAD+fi++case "$topic" in+refs/heads/??/*)+ ;;+*)+ exit 0 ;# we do not interrupt others.+ ;;+esac++# Now we are dealing with a topic branch being rebased+# on top of master. Is it OK to rebase it?++# Does the topic really exist?+git show-ref -q "$topic" || {+ echo >&2 "No such branch $topic"+ exit 1+}++# Is topic fully merged to master?+not_in_master=`git rev-list --pretty=oneline ^master "$topic"`+if test -z "$not_in_master"+then+ echo >&2 "$topic is fully merged to master; better remove it."+ exit 1 ;# we could allow it, but there is no point.+fi++# Is topic ever merged to next? If so you should not be rebasing it.+only_next_1=`git rev-list ^master "^$topic" ${publish} | sort`+only_next_2=`git rev-list ^master ${publish} | sort`+if test "$only_next_1" = "$only_next_2"+then+ not_in_topic=`git rev-list "^$topic" master`+ if test -z "$not_in_topic"+ then+ echo >&2 "$topic is already up to date with master"+ exit 1 ;# we could allow it, but there is no point.+ else+ exit 0+ fi+else+ not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"`+ /usr/bin/perl -e '+ my $topic = $ARGV[0];+ my $msg = "* $topic has commits already merged to public branch:\n";+ my (%not_in_next) = map {+ /^([0-9a-f]+) /;+ ($1 => 1);+ } split(/\n/, $ARGV[1]);+ for my $elem (map {+ /^([0-9a-f]+) (.*)$/;+ [$1 => $2];+ } split(/\n/, $ARGV[2])) {+ if (!exists $not_in_next{$elem->[0]}) {+ if ($msg) {+ print STDERR $msg;+ undef $msg;+ }+ print STDERR " $elem->[1]\n";+ }+ }+ ' "$topic" "$not_in_next" "$not_in_master"+ exit 1+fi++<<\DOC_END++This sample hook safeguards topic branches that have been+published from being rewound.++The workflow assumed here is:++ * Once a topic branch forks from "master", "master" is never+ merged into it again (either directly or indirectly).++ * Once a topic branch is fully cooked and merged into "master",+ it is deleted. If you need to build on top of it to correct+ earlier mistakes, a new topic branch is created by forking at+ the tip of the "master". This is not strictly necessary, but+ it makes it easier to keep your history simple.++ * Whenever you need to test or publish your changes to topic+ branches, merge them into "next" branch.++The script, being an example, hardcodes the publish branch name+to be "next", but it is trivial to make it configurable via+$GIT_DIR/config mechanism.++With this workflow, you would want to know:++(1) ... if a topic branch has ever been merged to "next". Young+ topic branches can have stupid mistakes you would rather+ clean up before publishing, and things that have not been+ merged into other branches can be easily rebased without+ affecting other people. But once it is published, you would+ not want to rewind it.++(2) ... if a topic branch has been fully merged to "master".+ Then you can delete it. More importantly, you should not+ build on top of it -- other people may already want to+ change things related to the topic as patches against your+ "master", so if you need further changes, it is better to+ fork the topic (perhaps with the same name) afresh from the+ tip of "master".++Let's look at this example:++ o---o---o---o---o---o---o---o---o---o "next"+ / / / /+ / a---a---b A / /+ / / / /+ / / c---c---c---c B /+ / / / \ /+ / / / b---b C \ /+ / / / / \ /+ ---o---o---o---o---o---o---o---o---o---o---o "master"+++A, B and C are topic branches.++ * A has one fix since it was merged up to "next".++ * B has finished. It has been fully merged up to "master" and "next",+ and is ready to be deleted.++ * C has not merged to "next" at all.++We would want to allow C to be rebased, refuse A, and encourage+B to be deleted.++To compute (1):++ git rev-list ^master ^topic next+ git rev-list ^master next++ if these match, topic has not merged in next at all.++To compute (2):++ git rev-list master..topic++ if this is empty, it is fully merged to "master".++DOC_END
@@ -0,0 +1,24 @@+#!/bin/sh+#+# An example hook script to make use of push options.+# The example simply echoes all push options that start with 'echoback='+# and rejects all pushes when the "reject" push option is used.+#+# To enable this hook, rename this file to "pre-receive".++if test -n "$GIT_PUSH_OPTION_COUNT"+then+ i=0+ while test "$i" -lt "$GIT_PUSH_OPTION_COUNT"+ do+ eval "value=\$GIT_PUSH_OPTION_$i"+ case "$value" in+ echoback=*)+ echo "echo from the pre-receive-hook: ${value#*=}" >&2+ ;;+ reject)+ exit 1+ esac+ i=$((i + 1))+ done+fi
@@ -0,0 +1,42 @@+#!/bin/sh+#+# An example hook script to prepare the commit log message.+# Called by "git commit" with the name of the file that has the+# commit message, followed by the description of the commit+# message's source. The hook's purpose is to edit the commit+# message file. If the hook fails with a non-zero status,+# the commit is aborted.+#+# To enable this hook, rename this file to "prepare-commit-msg".++# This hook includes three examples. The first one removes the+# "# Please enter the commit message..." help message.+#+# The second includes the output of "git diff --name-status -r"+# into the message, just before the "git status" output. It is+# commented because it doesn't cope with --amend or with squashed+# commits.+#+# The third example adds a Signed-off-by line to the message, that can+# still be edited. This is rarely a good idea.++COMMIT_MSG_FILE=$1+COMMIT_SOURCE=$2+SHA1=$3++/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE"++# case "$COMMIT_SOURCE,$SHA1" in+# ,|template,)+# /usr/bin/perl -i.bak -pe '+# print "\n" . `git diff --cached --name-status -r`+# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;;+# *) ;;+# esac++# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')+# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE"+# if test -z "$COMMIT_SOURCE"+# then+# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE"+# fi
@@ -0,0 +1,78 @@+#!/bin/sh++# An example hook script to update a checked-out tree on a git push.+#+# This hook is invoked by git-receive-pack(1) when it reacts to git+# push and updates reference(s) in its repository, and when the push+# tries to update the branch that is currently checked out and the+# receive.denyCurrentBranch configuration variable is set to+# updateInstead.+#+# By default, such a push is refused if the working tree and the index+# of the remote repository has any difference from the currently+# checked out commit; when both the working tree and the index match+# the current commit, they are updated to match the newly pushed tip+# of the branch. This hook is to be used to override the default+# behaviour; however the code below reimplements the default behaviour+# as a starting point for convenient modification.+#+# The hook receives the commit with which the tip of the current+# branch is going to be updated:+commit=$1++# It can exit with a non-zero status to refuse the push (when it does+# so, it must not modify the index or the working tree).+die () {+ echo >&2 "$*"+ exit 1+}++# Or it can make any necessary changes to the working tree and to the+# index to bring them to the desired state when the tip of the current+# branch is updated to the new commit, and exit with a zero status.+#+# For example, the hook can simply run git read-tree -u -m HEAD "$1"+# in order to emulate git fetch that is run in the reverse direction+# with git push, as the two-tree form of git read-tree -u -m is+# essentially the same as git switch or git checkout that switches+# branches while keeping the local changes in the working tree that do+# not interfere with the difference between the branches.++# The below is a more-or-less exact translation to shell of the C code+# for the default behaviour for git's push-to-checkout hook defined in+# the push_to_deploy() function in builtin/receive-pack.c.+#+# Note that the hook will be executed from the repository directory,+# not from the working tree, so if you want to perform operations on+# the working tree, you will have to adapt your code accordingly, e.g.+# by adding "cd .." or using relative paths.++if ! git update-index -q --ignore-submodules --refresh+then+ die "Up-to-date check failed"+fi++if ! git diff-files --quiet --ignore-submodules --+then+ die "Working directory has unstaged changes"+fi++# This is a rough translation of:+#+# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX+if git cat-file -e HEAD 2>/dev/null+then+ head=HEAD+else+ head=$(git hash-object -t tree --stdin </dev/null)+fi++if ! git diff-index --quiet --cached --ignore-submodules $head --+then+ die "Working directory has staged changes"+fi++if ! git read-tree -u -m "$commit"+then+ die "Could not update working tree to new HEAD"+fi
@@ -0,0 +1,77 @@+#!/bin/sh++# An example hook script to validate a patch (and/or patch series) before+# sending it via email.+#+# The hook should exit with non-zero status after issuing an appropriate+# message if it wants to prevent the email(s) from being sent.+#+# To enable this hook, rename this file to "sendemail-validate".+#+# By default, it will only check that the patch(es) can be applied on top of+# the default upstream branch without conflicts in a secondary worktree. After+# validation (successful or not) of the last patch of a series, the worktree+# will be deleted.+#+# The following config variables can be set to change the default remote and+# remote ref that are used to apply the patches against:+#+# sendemail.validateRemote (default: origin)+# sendemail.validateRemoteRef (default: HEAD)+#+# Replace the TODO placeholders with appropriate checks according to your+# needs.++validate_cover_letter () {+ file="$1"+ # TODO: Replace with appropriate checks (e.g. spell checking).+ true+}++validate_patch () {+ file="$1"+ # Ensure that the patch applies without conflicts.+ git am -3 "$file" || return+ # TODO: Replace with appropriate checks for this patch+ # (e.g. checkpatch.pl).+ true+}++validate_series () {+ # TODO: Replace with appropriate checks for the whole series+ # (e.g. quick build, coding style checks, etc.).+ true+}++# main -------------------------------------------------------------------------++if test "$GIT_SENDEMAIL_FILE_COUNTER" = 1+then+ remote=$(git config --default origin --get sendemail.validateRemote) &&+ ref=$(git config --default HEAD --get sendemail.validateRemoteRef) &&+ worktree=$(mktemp --tmpdir -d sendemail-validate.XXXXXXX) &&+ git worktree add -fd --checkout "$worktree" "refs/remotes/$remote/$ref" &&+ git config --replace-all sendemail.validateWorktree "$worktree"+else+ worktree=$(git config --get sendemail.validateWorktree)+fi || {+ echo "sendemail-validate: error: failed to prepare worktree" >&2+ exit 1+}++unset GIT_DIR GIT_WORK_TREE+cd "$worktree" &&++if grep -q "^diff --git " "$1"+then+ validate_patch "$1"+else+ validate_cover_letter "$1"+fi &&++if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL"+then+ git config --unset-all sendemail.validateWorktree &&+ trap 'git worktree remove -ff "$worktree"' EXIT &&+ validate_series+fi
@@ -0,0 +1,128 @@+#!/bin/sh+#+# An example hook script to block unannotated tags from entering.+# Called by "git receive-pack" with arguments: refname sha1-old sha1-new+#+# To enable this hook, rename this file to "update".+#+# Config+# ------+# hooks.allowunannotated+# This boolean sets whether unannotated tags will be allowed into the+# repository. By default they won't be.+# hooks.allowdeletetag+# This boolean sets whether deleting tags will be allowed in the+# repository. By default they won't be.+# hooks.allowmodifytag+# This boolean sets whether a tag may be modified after creation. By default+# it won't be.+# hooks.allowdeletebranch+# This boolean sets whether deleting branches will be allowed in the+# repository. By default they won't be.+# hooks.denycreatebranch+# This boolean sets whether remotely creating branches will be denied+# in the repository. By default this is allowed.+#++# --- Command line+refname="$1"+oldrev="$2"+newrev="$3"++# --- Safety check+if [ -z "$GIT_DIR" ]; then+ echo "Don't run this script from the command line." >&2+ echo " (if you want, you could supply GIT_DIR then run" >&2+ echo " $0 <ref> <oldrev> <newrev>)" >&2+ exit 1+fi++if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then+ echo "usage: $0 <ref> <oldrev> <newrev>" >&2+ exit 1+fi++# --- Config+allowunannotated=$(git config --type=bool hooks.allowunannotated)+allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch)+denycreatebranch=$(git config --type=bool hooks.denycreatebranch)+allowdeletetag=$(git config --type=bool hooks.allowdeletetag)+allowmodifytag=$(git config --type=bool hooks.allowmodifytag)++# check for no description+projectdesc=$(sed -e '1q' "$GIT_DIR/description")+case "$projectdesc" in+"Unnamed repository"* | "")+ echo "*** Project description file hasn't been set" >&2+ exit 1+ ;;+esac++# --- Check types+# if $newrev is 0000...0000, it's a commit to delete a ref.+zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')+if [ "$newrev" = "$zero" ]; then+ newrev_type=delete+else+ newrev_type=$(git cat-file -t $newrev)+fi++case "$refname","$newrev_type" in+ refs/tags/*,commit)+ # un-annotated tag+ short_refname=${refname##refs/tags/}+ if [ "$allowunannotated" != "true" ]; then+ echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2+ echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2+ exit 1+ fi+ ;;+ refs/tags/*,delete)+ # delete tag+ if [ "$allowdeletetag" != "true" ]; then+ echo "*** Deleting a tag is not allowed in this repository" >&2+ exit 1+ fi+ ;;+ refs/tags/*,tag)+ # annotated tag+ if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1+ then+ echo "*** Tag '$refname' already exists." >&2+ echo "*** Modifying a tag is not allowed in this repository." >&2+ exit 1+ fi+ ;;+ refs/heads/*,commit)+ # branch+ if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then+ echo "*** Creating a branch is not allowed in this repository" >&2+ exit 1+ fi+ ;;+ refs/heads/*,delete)+ # delete branch+ if [ "$allowdeletebranch" != "true" ]; then+ echo "*** Deleting a branch is not allowed in this repository" >&2+ exit 1+ fi+ ;;+ refs/remotes/*,commit)+ # tracking branch+ ;;+ refs/remotes/*,delete)+ # delete tracking branch+ if [ "$allowdeletebranch" != "true" ]; then+ echo "*** Deleting a tracking branch is not allowed in this repository" >&2+ exit 1+ fi+ ;;+ *)+ # Anything else (is there anything else?)+ echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2+ exit 1+ ;;+esac++# --- Finished+exit 0
binary file changed (absent → 996 bytes)
@@ -0,0 +1,6 @@+# git ls-files --others --exclude-from=.git/info/exclude+# Lines that start with '#' are comments.+# For a project mostly in C, the following would be a good set of+# exclude patterns (uncomment them if you want to use them):+# *.[oa]+# *~
@@ -0,0 +1,26 @@+0000000000000000000000000000000000000000 798f9cb58c71e49c891d2492036ee1660ad7fc67 Noah Williams <noahmartinwilliams@gmail.com> 1710879865 -0500 commit (initial): Start Repository+798f9cb58c71e49c891d2492036ee1660ad7fc67 1aed7da171f6f077c2b6e8cd53c19c75de8b6a27 Noah Williams <noahmartinwilliams@gmail.com> 1711137364 -0500 commit: Add license information and basic README.md file+1aed7da171f6f077c2b6e8cd53c19c75de8b6a27 9b8e6e19ae17ff7b176db0a8803eaf2262cfdd76 Noah Williams <noahmartinwilliams@gmail.com> 1712512924 -0500 commit: Remove rep0 export+9b8e6e19ae17ff7b176db0a8803eaf2262cfdd76 f3f6b87d160f1194badc8c0dc556340c59cf569d Noah Williams <noahmartinwilliams@gmail.com> 1715967993 -0500 commit: Add convenient dependent types+f3f6b87d160f1194badc8c0dc556340c59cf569d 22448e553b5f6a69f4ee99e75060dd8243a7caa5 Noah Williams <noahmartinwilliams@gmail.com> 1716172422 -0500 commit: Fix compilation error+22448e553b5f6a69f4ee99e75060dd8243a7caa5 1581f2e0d66bc73b91ebe16698fcdb14427d5b2a Noah Williams <noahmartinwilliams@gmail.com> 1716229884 -0500 commit: Add addition operation for plain matrices and dependently typed ones+1581f2e0d66bc73b91ebe16698fcdb14427d5b2a 14faaf565e7d53314a39be55dc2624c44ab3dd18 Noah Williams <noahmartinwilliams@gmail.com> 1716230006 -0500 commit: Add subtraction operator+14faaf565e7d53314a39be55dc2624c44ab3dd18 9403caff420aee59c3499a070ff26c48ac392ed9 Noah Williams <noahmartinwilliams@gmail.com> 1716230955 -0500 commit: Updata README to mention dependent types+9403caff420aee59c3499a070ff26c48ac392ed9 660a56225f67d1dc97b858f2475eaeab444dfbbe Noah Williams <noahmartinwilliams@gmail.com> 1716324463 -0500 commit: Add useMat function to translate plain matrices into accelerated ones+660a56225f67d1dc97b858f2475eaeab444dfbbe 203d0a5402c876124bb5c937203f2363a24f4ad5 Noah Williams <noahmartinwilliams@gmail.com> 1716748828 -0500 commit: Prepare for hackage+203d0a5402c876124bb5c937203f2363a24f4ad5 c0b7a8179fc1d96b98204aa7fa3712b1783780fc Noah Williams <noahmartinwilliams@gmail.com> 1716838880 -0500 commit: Add version bounds to package.yaml+c0b7a8179fc1d96b98204aa7fa3712b1783780fc ed14dfef638cf03f175cfd24c899d3607ab16653 Noah Williams <noahmartinwilliams@gmail.com> 1716839278 -0500 commit: Add synopsis and category field+ed14dfef638cf03f175cfd24c899d3607ab16653 c8e1a9a19c91373b5cac4b72517230d3d952d1db Noah Williams <noahmartinwilliams@gmail.com> 1716839382 -0500 commit: Add exposed modules field to package.yaml+c8e1a9a19c91373b5cac4b72517230d3d952d1db e9267aa05a122cf86d1cd7b002171eab781a7913 Noah Williams <noahmartinwilliams@gmail.com> 1716840674 -0500 commit: Add description field to package.yaml+e9267aa05a122cf86d1cd7b002171eab781a7913 5665b7c96d2a75ca567d4cb3e160ff8b93134b24 Noah Williams <noahmartinwilliams@gmail.com> 1716916953 -0500 commit: Add Data.Array.Accelerate.Matrix to exposed modules in cabal file+5665b7c96d2a75ca567d4cb3e160ff8b93134b24 d9a5b5b2d3bb7928113f4a104ad90b0732625b93 Noah Williams <noahmartinwilliams@gmail.com> 1716917473 -0500 commit: Add module documentation+d9a5b5b2d3bb7928113f4a104ad90b0732625b93 93af8f63f682ee549ac1c718420fea1858969469 Noah Williams <noahmartinwilliams@gmail.com> 1717084758 -0500 commit: Add matScale function for multiplying dependently typed matrices by scalars+93af8f63f682ee549ac1c718420fea1858969469 34cf03264982c950f99a3a62299b244704d70d34 Noah Williams <noahmartinwilliams@gmail.com> 1730400835 -0500 commit: Fix Typos In Cabal File And Stack File+34cf03264982c950f99a3a62299b244704d70d34 247a11f2e97624be1dd31b5248656b224aa16a01 Noah Williams <noahmartinwilliams@gmail.com> 1774381309 -0400 commit: Bump Version Of lens-accelerate+247a11f2e97624be1dd31b5248656b224aa16a01 ba163f354f0b983ec8d5fce32a2833214f74ac85 Noah Williams <noahmartinwilliams@gmail.com> 1774456680 -0400 commit: Add Take And Drop Functions+ba163f354f0b983ec8d5fce32a2833214f74ac85 5a391b0d9f89ff0d9067cab65dad7a9826c2c578 Noah Williams <noahmartinwilliams@gmail.com> 1774457103 -0400 commit: Add Append Operator+5a391b0d9f89ff0d9067cab65dad7a9826c2c578 683e11d81c1b3762de227fc2d7a38c15aeb74f41 Noah Williams <noahmartinwilliams@gmail.com> 1774457353 -0400 commit: Add matTake, matDrop, and matAppend to export list.+683e11d81c1b3762de227fc2d7a38c15aeb74f41 6c43fbf3419bb3c1f3dd7b9b57982bd22dfc8532 Noah Williams <noahmartinwilliams@gmail.com> 1774539607 -0400 commit: Add matZipMul Function+6c43fbf3419bb3c1f3dd7b9b57982bd22dfc8532 842f450ae5dde3a3447ce23d19d10326ec37dcad Noah Williams <noahmartinwilliams@gmail.com> 1775147783 -0400 commit: Add Mapping Function And Element-Wise Division+842f450ae5dde3a3447ce23d19d10326ec37dcad 79b1550593112c098619cafdce23c0eb2efbc0fa Noah Williams <noahmartinwilliams@gmail.com> 1790874352 -0400 commit: Add matSize Function+79b1550593112c098619cafdce23c0eb2efbc0fa f92c250ebce8214903d48ca98864cc194c972dfd Noah Williams <noahmartinwilliams@gmail.com> 1793225741 -0400 commit: Add matZipWith Function
@@ -0,0 +1,26 @@+0000000000000000000000000000000000000000 798f9cb58c71e49c891d2492036ee1660ad7fc67 Noah Williams <noahmartinwilliams@gmail.com> 1710879865 -0500 commit (initial): Start Repository+798f9cb58c71e49c891d2492036ee1660ad7fc67 1aed7da171f6f077c2b6e8cd53c19c75de8b6a27 Noah Williams <noahmartinwilliams@gmail.com> 1711137364 -0500 commit: Add license information and basic README.md file+1aed7da171f6f077c2b6e8cd53c19c75de8b6a27 9b8e6e19ae17ff7b176db0a8803eaf2262cfdd76 Noah Williams <noahmartinwilliams@gmail.com> 1712512924 -0500 commit: Remove rep0 export+9b8e6e19ae17ff7b176db0a8803eaf2262cfdd76 f3f6b87d160f1194badc8c0dc556340c59cf569d Noah Williams <noahmartinwilliams@gmail.com> 1715967993 -0500 commit: Add convenient dependent types+f3f6b87d160f1194badc8c0dc556340c59cf569d 22448e553b5f6a69f4ee99e75060dd8243a7caa5 Noah Williams <noahmartinwilliams@gmail.com> 1716172422 -0500 commit: Fix compilation error+22448e553b5f6a69f4ee99e75060dd8243a7caa5 1581f2e0d66bc73b91ebe16698fcdb14427d5b2a Noah Williams <noahmartinwilliams@gmail.com> 1716229884 -0500 commit: Add addition operation for plain matrices and dependently typed ones+1581f2e0d66bc73b91ebe16698fcdb14427d5b2a 14faaf565e7d53314a39be55dc2624c44ab3dd18 Noah Williams <noahmartinwilliams@gmail.com> 1716230006 -0500 commit: Add subtraction operator+14faaf565e7d53314a39be55dc2624c44ab3dd18 9403caff420aee59c3499a070ff26c48ac392ed9 Noah Williams <noahmartinwilliams@gmail.com> 1716230955 -0500 commit: Updata README to mention dependent types+9403caff420aee59c3499a070ff26c48ac392ed9 660a56225f67d1dc97b858f2475eaeab444dfbbe Noah Williams <noahmartinwilliams@gmail.com> 1716324463 -0500 commit: Add useMat function to translate plain matrices into accelerated ones+660a56225f67d1dc97b858f2475eaeab444dfbbe 203d0a5402c876124bb5c937203f2363a24f4ad5 Noah Williams <noahmartinwilliams@gmail.com> 1716748828 -0500 commit: Prepare for hackage+203d0a5402c876124bb5c937203f2363a24f4ad5 c0b7a8179fc1d96b98204aa7fa3712b1783780fc Noah Williams <noahmartinwilliams@gmail.com> 1716838880 -0500 commit: Add version bounds to package.yaml+c0b7a8179fc1d96b98204aa7fa3712b1783780fc ed14dfef638cf03f175cfd24c899d3607ab16653 Noah Williams <noahmartinwilliams@gmail.com> 1716839278 -0500 commit: Add synopsis and category field+ed14dfef638cf03f175cfd24c899d3607ab16653 c8e1a9a19c91373b5cac4b72517230d3d952d1db Noah Williams <noahmartinwilliams@gmail.com> 1716839382 -0500 commit: Add exposed modules field to package.yaml+c8e1a9a19c91373b5cac4b72517230d3d952d1db e9267aa05a122cf86d1cd7b002171eab781a7913 Noah Williams <noahmartinwilliams@gmail.com> 1716840674 -0500 commit: Add description field to package.yaml+e9267aa05a122cf86d1cd7b002171eab781a7913 5665b7c96d2a75ca567d4cb3e160ff8b93134b24 Noah Williams <noahmartinwilliams@gmail.com> 1716916953 -0500 commit: Add Data.Array.Accelerate.Matrix to exposed modules in cabal file+5665b7c96d2a75ca567d4cb3e160ff8b93134b24 d9a5b5b2d3bb7928113f4a104ad90b0732625b93 Noah Williams <noahmartinwilliams@gmail.com> 1716917473 -0500 commit: Add module documentation+d9a5b5b2d3bb7928113f4a104ad90b0732625b93 93af8f63f682ee549ac1c718420fea1858969469 Noah Williams <noahmartinwilliams@gmail.com> 1717084758 -0500 commit: Add matScale function for multiplying dependently typed matrices by scalars+93af8f63f682ee549ac1c718420fea1858969469 34cf03264982c950f99a3a62299b244704d70d34 Noah Williams <noahmartinwilliams@gmail.com> 1730400835 -0500 commit: Fix Typos In Cabal File And Stack File+34cf03264982c950f99a3a62299b244704d70d34 247a11f2e97624be1dd31b5248656b224aa16a01 Noah Williams <noahmartinwilliams@gmail.com> 1774381309 -0400 commit: Bump Version Of lens-accelerate+247a11f2e97624be1dd31b5248656b224aa16a01 ba163f354f0b983ec8d5fce32a2833214f74ac85 Noah Williams <noahmartinwilliams@gmail.com> 1774456680 -0400 commit: Add Take And Drop Functions+ba163f354f0b983ec8d5fce32a2833214f74ac85 5a391b0d9f89ff0d9067cab65dad7a9826c2c578 Noah Williams <noahmartinwilliams@gmail.com> 1774457103 -0400 commit: Add Append Operator+5a391b0d9f89ff0d9067cab65dad7a9826c2c578 683e11d81c1b3762de227fc2d7a38c15aeb74f41 Noah Williams <noahmartinwilliams@gmail.com> 1774457353 -0400 commit: Add matTake, matDrop, and matAppend to export list.+683e11d81c1b3762de227fc2d7a38c15aeb74f41 6c43fbf3419bb3c1f3dd7b9b57982bd22dfc8532 Noah Williams <noahmartinwilliams@gmail.com> 1774539607 -0400 commit: Add matZipMul Function+6c43fbf3419bb3c1f3dd7b9b57982bd22dfc8532 842f450ae5dde3a3447ce23d19d10326ec37dcad Noah Williams <noahmartinwilliams@gmail.com> 1775147783 -0400 commit: Add Mapping Function And Element-Wise Division+842f450ae5dde3a3447ce23d19d10326ec37dcad 79b1550593112c098619cafdce23c0eb2efbc0fa Noah Williams <noahmartinwilliams@gmail.com> 1790874352 -0400 commit: Add matSize Function+79b1550593112c098619cafdce23c0eb2efbc0fa f92c250ebce8214903d48ca98864cc194c972dfd Noah Williams <noahmartinwilliams@gmail.com> 1793225741 -0400 commit: Add matZipWith Function
@@ -0,0 +1,1 @@+0000000000000000000000000000000000000000 842f450ae5dde3a3447ce23d19d10326ec37dcad Noah Williams <noahmartinwilliams@gmail.com> 1790874307 -0400 fetch
@@ -0,0 +1,3 @@+0000000000000000000000000000000000000000 842f450ae5dde3a3447ce23d19d10326ec37dcad Noah Williams <noahmartinwilliams@gmail.com> 1790874307 -0400 fetch --append --no-auto-gc --no-write-commit-graph --no-write-fetch-head github-https: storing head+842f450ae5dde3a3447ce23d19d10326ec37dcad 79b1550593112c098619cafdce23c0eb2efbc0fa Noah Williams <noahmartinwilliams@gmail.com> 1793225713 -0400 fetch --append --no-auto-gc --no-write-commit-graph --no-write-fetch-head github-https: fast-forward+79b1550593112c098619cafdce23c0eb2efbc0fa f92c250ebce8214903d48ca98864cc194c972dfd Noah Williams <noahmartinwilliams@gmail.com> 1793225765 -0400 fetch --append --no-auto-gc --no-write-commit-graph --no-write-fetch-head github-https: fast-forward
@@ -0,0 +1,1 @@+0000000000000000000000000000000000000000 34cf03264982c950f99a3a62299b244704d70d34 Noah Williams <noahmartinwilliams@gmail.com> 1774381285 -0400 fetch
@@ -0,0 +1,18 @@+0000000000000000000000000000000000000000 1aed7da171f6f077c2b6e8cd53c19c75de8b6a27 Noah Williams <noahmartinwilliams@gmail.com> 1711137448 -0500 update by push+1aed7da171f6f077c2b6e8cd53c19c75de8b6a27 9403caff420aee59c3499a070ff26c48ac392ed9 Noah Williams <noahmartinwilliams@gmail.com> 1716230987 -0500 update by push+9403caff420aee59c3499a070ff26c48ac392ed9 660a56225f67d1dc97b858f2475eaeab444dfbbe Noah Williams <noahmartinwilliams@gmail.com> 1716324472 -0500 update by push+660a56225f67d1dc97b858f2475eaeab444dfbbe 203d0a5402c876124bb5c937203f2363a24f4ad5 Noah Williams <noahmartinwilliams@gmail.com> 1716749009 -0500 update by push+203d0a5402c876124bb5c937203f2363a24f4ad5 c0b7a8179fc1d96b98204aa7fa3712b1783780fc Noah Williams <noahmartinwilliams@gmail.com> 1716838898 -0500 update by push+c0b7a8179fc1d96b98204aa7fa3712b1783780fc c8e1a9a19c91373b5cac4b72517230d3d952d1db Noah Williams <noahmartinwilliams@gmail.com> 1716839396 -0500 update by push+c8e1a9a19c91373b5cac4b72517230d3d952d1db e9267aa05a122cf86d1cd7b002171eab781a7913 Noah Williams <noahmartinwilliams@gmail.com> 1716840695 -0500 update by push+e9267aa05a122cf86d1cd7b002171eab781a7913 5665b7c96d2a75ca567d4cb3e160ff8b93134b24 Noah Williams <noahmartinwilliams@gmail.com> 1716916963 -0500 update by push+5665b7c96d2a75ca567d4cb3e160ff8b93134b24 93af8f63f682ee549ac1c718420fea1858969469 Noah Williams <noahmartinwilliams@gmail.com> 1717084773 -0500 update by push+93af8f63f682ee549ac1c718420fea1858969469 34cf03264982c950f99a3a62299b244704d70d34 Noah Williams <noahmartinwilliams@gmail.com> 1774379216 -0400 update by push+34cf03264982c950f99a3a62299b244704d70d34 247a11f2e97624be1dd31b5248656b224aa16a01 Noah Williams <noahmartinwilliams@gmail.com> 1774381318 -0400 update by push+247a11f2e97624be1dd31b5248656b224aa16a01 ba163f354f0b983ec8d5fce32a2833214f74ac85 Noah Williams <noahmartinwilliams@gmail.com> 1774456701 -0400 update by push+ba163f354f0b983ec8d5fce32a2833214f74ac85 5a391b0d9f89ff0d9067cab65dad7a9826c2c578 Noah Williams <noahmartinwilliams@gmail.com> 1774457116 -0400 update by push+5a391b0d9f89ff0d9067cab65dad7a9826c2c578 683e11d81c1b3762de227fc2d7a38c15aeb74f41 Noah Williams <noahmartinwilliams@gmail.com> 1774457394 -0400 update by push+683e11d81c1b3762de227fc2d7a38c15aeb74f41 6c43fbf3419bb3c1f3dd7b9b57982bd22dfc8532 Noah Williams <noahmartinwilliams@gmail.com> 1774539615 -0400 update by push+6c43fbf3419bb3c1f3dd7b9b57982bd22dfc8532 842f450ae5dde3a3447ce23d19d10326ec37dcad Noah Williams <noahmartinwilliams@gmail.com> 1775148181 -0400 update by push+842f450ae5dde3a3447ce23d19d10326ec37dcad 79b1550593112c098619cafdce23c0eb2efbc0fa Noah Williams <noahmartinwilliams@gmail.com> 1790874374 -0400 update by push+79b1550593112c098619cafdce23c0eb2efbc0fa f92c250ebce8214903d48ca98864cc194c972dfd Noah Williams <noahmartinwilliams@gmail.com> 1793225747 -0400 update by push
binary file changed (absent → 46 bytes)
binary file changed (absent → 46 bytes)
binary file changed (absent → 52 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 184 bytes)
binary file changed (absent → 49 bytes)
binary file changed (absent → 870 bytes)
binary file changed (absent → 48 bytes)
binary file changed (absent → 2524 bytes)
binary file changed (absent → 366 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 177 bytes)
@@ -0,0 +1,1 @@+x¥ËM1D9;N`íÿ$ظrîu·YKã<Fh³ÇBdÀêJ¯b+%Oؤy(D¥ÎSdL[PÜD>yïÒöfU× Zï»gc¶ImH;s¼¬$òzßÐED#ðkÞÛ÷wøÈDZðRW-8f®ßìí³`>c+¯ ²Zïw¸H#¥XtÙNþï¸Á:gnZç¿)-Ã~`®Ppù¬Ä+»Çæ£3A«|û8fb
binary file changed (absent → 48 bytes)
binary file changed (absent → 184 bytes)
binary file changed (absent → 197 bytes)
binary file changed (absent → 32 bytes)
binary file changed (absent → 1332 bytes)
binary file changed (absent → 48 bytes)
@@ -0,0 +1,1 @@+x¥An!}æóX@f,Ë/róyY/ò²ka¢|ßDÊ|ìºUöZKKîÐ8RöÎz²bò)GÌ´ÕlÓLÎZÏ&§ÉÇ@a¶èIX8~cÅ?}Ù|í¼Àµ¬káúÓ6båÖËöûÏ.·Êe=¦½Áxã<`|hÒZ :l»¼»£¾üy(-î|õßjSÓ
binary file changed (absent → 213 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 216 bytes)
binary file changed (absent → 698 bytes)
binary file changed (absent → 647 bytes)
binary file changed (absent → 662 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 53 bytes)
binary file changed (absent → 366 bytes)
binary file changed (absent → 367 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 62 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 259 bytes)
binary file changed (absent → 46 bytes)
binary file changed (absent → 53 bytes)
binary file changed (absent → 52 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 184 bytes)
binary file changed (absent → 52 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 52 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 295 bytes)
binary file changed (absent → 47 bytes)
@@ -0,0 +1,1 @@+x+)JMU06g040031QðM,)ʬÐË(fXòe«àÔ¾ó^iM=þý£ÙéTB×
binary file changed (absent → 15 bytes)
binary file changed (absent → 2457 bytes)
binary file changed (absent → 53 bytes)
binary file changed (absent → 52 bytes)
binary file changed (absent → 206 bytes)
binary file changed (absent → 795 bytes)
binary file changed (absent → 204 bytes)
binary file changed (absent → 260 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 366 bytes)
@@ -0,0 +1,1 @@+x+)JMU06g040031QðM,)ʬÐË(fàúp'Ðdâ+~}.37FýW9·±
binary file changed (absent → 213 bytes)
binary file changed (absent → 675 bytes)
binary file changed (absent → 203 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 982 bytes)
binary file changed (absent → 231 bytes)
binary file changed (absent → 688 bytes)
binary file changed (absent → 56 bytes)
binary file changed (absent → 46 bytes)
binary file changed (absent → 861 bytes)
binary file changed (absent → 207 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 365 bytes)
binary file changed (absent → 2323 bytes)
binary file changed (absent → 49 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 1614 bytes)
binary file changed (absent → 142 bytes)
binary file changed (absent → 205 bytes)
binary file changed (absent → 1303 bytes)
binary file changed (absent → 49 bytes)
binary file changed (absent → 52 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 231 bytes)
binary file changed (absent → 780 bytes)
binary file changed (absent → 46 bytes)
binary file changed (absent → 365 bytes)
binary file changed (absent → 261 bytes)
binary file changed (absent → 693 bytes)
binary file changed (absent → 1075 bytes)
binary file changed (absent → 120 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 48 bytes)
@@ -0,0 +1,3 @@+x¥KJ1E÷*jJ*ÓÝ«òy/¤téÝÄ8¼Îå\¿Õ(£ÇI¥ 'åê4Ytj£ò. öyÙ©Ç6 82lXÅl\UÒBSp UòYvj¡sÜ·Ýá+©ðÒf¬ÔGnßÝÛR.O~«¯Xµ5+<+#Ä2Ûi;âw÷ ÒøôTæç³ù·i+Ö³¼+·¸ÇæÍrÁ¸öøËôìã|Á1aêÇòðµiS
@@ -0,0 +1,2 @@+x¥MJ1 ]çu¥óSD¥.q]TÏ:IÓS"ÞÞÞÀÍ÷ïK½Ö"`¼¿´s0Sa1:~äbÈaô¬Ìä¼Úéà& ÝJ´âì3Z«Ù¸0bNf6.9GÍYEré¼vºÀGÙ¶Bõ+÷mÔJöõ·=+í.õú0`ôlìávÂiRc´ÂÿýQï{&!x;==¿@:Ô!SzÌ;·ük&ß;_ÕP[I
binary file changed (absent → 47 bytes)
binary file changed (absent → 52 bytes)
binary file changed (absent → 664 bytes)
binary file changed (absent → 53 bytes)
binary file changed (absent → 52 bytes)
binary file changed (absent → 52 bytes)
binary file changed (absent → 52 bytes)
binary file changed (absent → 956 bytes)
binary file changed (absent → 260 bytes)
binary file changed (absent → 92 bytes)
binary file changed (absent → 59 bytes)
binary file changed (absent → 46 bytes)
binary file changed (absent → 49 bytes)
binary file changed (absent → 365 bytes)
binary file changed (absent → 275 bytes)
binary file changed (absent → 46 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 795 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 628 bytes)
@@ -0,0 +1,2 @@+xUMK1=÷WæâÓî͸Aö ,Âf:Ù¶N§)mýú÷vgÅÜBä}Hï¹õÍú¢{ÁgGNp@ÉSÂBí%¹ïwÞCà½'Ð3¡0ë2ÄÄï¤|¹+õëB¡\X£ó$ x²t¨W¡îõ+ÂöDðìñviKùV©±Np ¬~Ró¤(¨kÙÉN®á¿ý¹Ø?`©jíPh^(eÇÁ;öNÿ£âgvÁ%'£VU¸ià9¤úêÜvr^kµÛm»Ù_zIné
binary file changed (absent → 931 bytes)
binary file changed (absent → 848 bytes)
binary file changed (absent → 2218 bytes)
binary file changed (absent → 184 bytes)
binary file changed (absent → 764 bytes)
binary file changed (absent → 48 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 46 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 212 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 2243 bytes)
@@ -0,0 +1,1 @@+x¥ÎKN1PÖ>E_ Qûï"D.ÀuÝXíÈã¸=^põ¤*Ul¥äÊËÑ!±E£ÖÀ6zi1mf¡Å[' &'¥_L¢èÙu®³:!Y*ï¤2ëjã¢ýôMi§IÍP²ãÞ:¼7ºÃGÞ÷LåK±P¹~ÿÙÛPÞϱW^º C'´bê|;ø¿;â|q?r«°¶gMtãó]ü¤X
binary file changed (absent → 829 bytes)
binary file changed (absent → 31 bytes)
binary file changed (absent → 48 bytes)
binary file changed (absent → 1301 bytes)
binary file changed (absent → 52 bytes)
binary file changed (absent → 191 bytes)
binary file changed (absent → 866 bytes)
binary file changed (absent → 1004 bytes)
binary file changed (absent → 1621 bytes)
binary file changed (absent → 46 bytes)
binary file changed (absent → 1234 bytes)
binary file changed (absent → 178 bytes)
binary file changed (absent → 184 bytes)
binary file changed (absent → 184 bytes)
binary file changed (absent → 48 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 734 bytes)
binary file changed (absent → 184 bytes)
binary file changed (absent → 48 bytes)
@@ -0,0 +1,1 @@+x+)JMU023g040031Qðñtvõve8XW3ekâÃp-7Á½jª¡J\]|]õrSfæ]p.ååö*ôóµÿÃó=mêPEÁ©%¥zųfz}+ßpÿ´uÙæçÏXlSBÕä&eVè&&'§æ¤%¤ê%'&%æ0Üþ¢^{uÿªY«³×|:v×ÜÐØª¥ 19;1=U¯217aÅÝcgÕJvÏ×äê±xã7©Iw(%3<tÜ¿±¶,(ûûä2Źõ¯m^ 5¥¸hÄÎ=ú¸39õfCWøÁ G,m
binary file changed (absent → 54 bytes)
binary file changed (absent → 2618 bytes)
binary file changed (absent → 49 bytes)
binary file changed (absent → 46 bytes)
binary file changed (absent → 685 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 49 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 184 bytes)
binary file changed (absent → 260 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 47 bytes)
binary file changed (absent → 54 bytes)
@@ -0,0 +1,2 @@+x¥Anà E»æsFf¢ª½@·]I+Æ"TUo_/rìÞ¯ZyþetU¸8róbcPRO(Æä Å:V¬z6;wݤE#cL§08ù58Âà&+Dr²þ·Öá³ñ ¾r)ëÎÛ1+÷·ß{¿VÎåZ}8/ÞÎÁë%kÍaÚ¡Ïþ½§÷Û¬E`4Ø9}óUO\ùZaY
binary file changed (absent → 54 bytes)
binary file changed (absent → 1562 bytes)
binary file changed (absent → 1333 bytes)
binary file changed (absent → 184 bytes)
binary file changed (absent → 54 bytes)
binary file changed (absent → 260 bytes)
@@ -0,0 +1,3 @@+x¥±NÄ0óÞ8%i´B 1³2;sÔ$UêãàíÉ f6ûûmÿ¶}Í91³ºãFGm\TqÃlf+I§u&&+ã`;6*ÉZÑ:eMpçYQk£}Á^k·+¼§mKx,=ÍØ8ë/{>gLÛÉ×üʪi1vYx¢Ó¾-ÓçÀ×òA%Ý®´S ·¿v:xýÀcR¯à.à+{£ÞÎ[ú|Ù8í[òÈ©[Í?§xEÛÃî»ÃJÐÒyí®)S9zõqß®¦w
binary file changed (absent → 261 bytes)
binary file changed (absent → 1075 bytes)
binary file changed (absent → 365 bytes)
binary file changed (absent → 842 bytes)
binary file changed (absent → 208 bytes)
@@ -0,0 +1,5 @@+x½TMO1íÙ¿b$Nõ(´T+ J¥gíIÖÂk[¶ßñnª$Kű+Eòx>ßçÔÖ×p|vöùÃÎaôµ£YIT,EÌ$^(&ãÝ~ä´:®¦ÕT,Mnºzßá¶KÞÔk¹4jýíéV~79K`ÇU=60ù±Ö`&¢Eã2ÿh7~â8¶íC_7_i+åÛP>¬£Y6y·Åädzr+}muA«Q&ßEEra,¥s!á×Ýõíì®j5o®ïï¾ÿ¸/¦8eÔ×®¶&5Æ-aÍ zÆ%qpZ;I»ÀÏ )©hBfîÁ/ÆW³ôq½8§ºLðÛ¾x£AwÉæH ´XpÑÌöªkIëK£ã8B[{åmBnÊ`ÌÓËíSéOmMZ¨Ô\âßç.pÅd4Â-ô}Á¤¡JËãgÁó+%1lIì³*±xê§%Lh'¸æ½É] á¢É9¤ó££AveÅc¯Àå ÆH¨[ºÜ1ÓäÖZVWpZ}ÃC¸3!¾ßB¿y9Gkyër^ÂÜ¿Ë&sÁt={IFR>jÙVÄ[oçä¢2[S,ix[E÷oI¶^w,ľW("GËÒ$««Hºs]wÇòeæàgWGdÁµ,¼_íÁ`¹)<f'[¬f!±±OZqnîc·¦´ö¥!¯¿#R]ƺ@°²Y+C¦2°¬ÌèÏ/g|Y5¥ýhúrQ>¡wp°ôfQý_|ò±/3¹s3³¼Ó̲øâzÐS õ. ÿÿýÅæË
binary file changed (absent → 54 bytes)
binary file changed (absent → 52 bytes)
binary file changed (absent → 2166 bytes)
@@ -0,0 +1,1 @@+f92c250ebce8214903d48ca98864cc194c972dfd
@@ -0,0 +1,1 @@+ref: refs/remotes/github-https/main
@@ -0,0 +1,1 @@+f92c250ebce8214903d48ca98864cc194c972dfd
@@ -0,0 +1,1 @@+ref: refs/remotes/github/main
@@ -0,0 +1,1 @@+f92c250ebce8214903d48ca98864cc194c972dfd
@@ -0,0 +1,1 @@+79b1550593112c098619cafdce23c0eb2efbc0fa
@@ -0,0 +1,2 @@+.stack-work/+*~
@@ -0,0 +1,11 @@+# Changelog for `accelerate-matrix`++All notable changes to this project will be documented in this file.++The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),+and this project adheres to the+[Haskell Package Versioning Policy](https://pvp.haskell.org/).++## Unreleased++## 0.1.0.0 - YYYY-MM-DD
@@ -0,0 +1,30 @@+Copyright Noah Martin Williams (c) 2024++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++ * Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.++ * Redistributions in binary form must reproduce the above+ copyright notice, this list of conditions and the following+ disclaimer in the documentation and/or other materials provided+ with the distribution.++ * Neither the name of Author name here nor the names of other+ contributors may be used to endorse or promote products derived+ from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,3 @@+# accelerate-matrix++Matrix operations for accelerate with dependent types for aligning matrix operations.
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
@@ -0,0 +1,6 @@+module Main (main) where++import Lib++main :: IO ()+main = someFunc
@@ -0,0 +1,2 @@+packages:+ .
binary file changed (absent → 13923 bytes)
binary file changed (absent → 5685 bytes)
@@ -0,0 +1,56 @@+cabal-version: 2.2++-- This file has been generated from package.yaml by hpack version 0.39.6.+--+-- see: https://github.com/sol/hpack++name: matrix-accelerate+version: 0.2.0.0+synopsis: An accelerate library that adds dependently typed matrices.+description: An accelerate library that adds dependently typed matrices. This library adds the ability to do matrix manipulations with or without dependent types to help line up the operations so as to prevent runtime errors.+category: Accelerate, Matrices, GPU+homepage: https://github.com/noahmartinwilliams/matrix-accelerate#readme+bug-reports: https://github.com/noahmartinwilliams/matrix-accelerate/issues+author: Noah Martin Williams+maintainer: noahmartinwilliams@gmail.com+copyright: 2024 Noah Williams+license: BSD-3-Clause+license-file: LICENSE+build-type: Simple+extra-doc-files:+ README.md+ CHANGELOG.md++source-repository head+ type: git+ location: https://github.com/noahmartinwilliams/matrix-accelerate++library+ exposed-modules:+ Data.Array.Accelerate.Matrix+ other-modules:+ Paths_matrix_accelerate+ autogen-modules:+ Paths_matrix_accelerate+ hs-source-dirs:+ src+ ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints+ build-depends:+ accelerate >=1.2 && <1.5+ , base >=4.7 && <5+ , lens-accelerate+ default-language: Haskell2010++test-suite accelerate-matrix-test+ type: exitcode-stdio-1.0+ main-is: Spec.hs+ other-modules:+ Paths_matrix_accelerate+ autogen-modules:+ Paths_matrix_accelerate+ hs-source-dirs:+ test+ ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N+ build-depends:+ base >=4.7 && <5+ default-language: Haskell2010
@@ -0,0 +1,47 @@+name: matrix-accelerate+version: 0.2.0.0+github: "noahmartinwilliams/matrix-accelerate"+license: BSD-3-Clause+author: "Noah Martin Williams"+maintainer: "noahmartinwilliams@gmail.com"+copyright: "2024 Noah Williams"+category: Accelerate, Matrices, GPU+synopsis: An accelerate library that adds dependently typed matrices.++extra-doc-files:+- README.md+- CHANGELOG.md++description: An accelerate library that adds dependently typed matrices. + This library adds the ability to do matrix manipulations with or without dependent types to help line up the operations + so as to prevent runtime errors.++dependencies:+- base >= 4.7 && < 5++ghc-options:+- -Wall+- -Wcompat+- -Widentities+- -Wincomplete-record-updates+- -Wincomplete-uni-patterns+- -Wmissing-export-lists+- -Wmissing-home-modules+- -Wpartial-fields+- -Wredundant-constraints++library:+ source-dirs: src+ exposed-modules: Data.Array.Accelerate.Matrix+ dependencies:+ - accelerate >= 1.2 && < 1.5+ - lens-accelerate ++tests:+ accelerate-matrix-test:+ main: Spec.hs+ source-dirs: test+ ghc-options:+ - -threaded+ - -rtsopts+ - -with-rtsopts=-N
@@ -0,0 +1,132 @@+{-|+Module : Data.Array.Accelerate.Matrix+Description : Functions for plain and dependently typed matrix math.+Copyright : (c) Noah Martin Williams 2024+License : BSD-3-Clause+Maintainer : noahmartinwilliams@gmail.com+Stability : experimental+Portability : POSIX++This module contains functions for doing matrix math such as addition, subtraction, and multiplication+for both plain and dependently typed matrices.+-}+{-# LANGUAGE TypeOperators #-}+{-# LANGUAGE FlexibleContexts #-}+{-# LANGUAGE GADTs #-}+module Data.Array.Accelerate.Matrix(mMul, matMul, identMat, Mat(..), AccMat(..), matTransp, matAdd, mAdd, mSub, matSub, useMat, matScale, matTake, matDrop, matAppend, matZipMul, matZipDiv, matMap, matSize, matZipWith) where++import Prelude as P+import Data.Array.Accelerate as A+import Data.Array.Accelerate.Control.Lens.Shape++-- |Creat an identity matrix with the dimension provided+identMat :: Exp Int -> Acc (Matrix Int)+identMat n = generate (index2 n n) (\(I2 a b) -> a A.== b A.? ((constant 1), (constant 0)))++-- These two lines were blatantly stolen from here: https://hackage.haskell.org/package/accelerate-1.3.0.0/docs/Data-Array-Accelerate.html+rep0 :: (Shape sh, Elt e) => Exp Int -> Acc (Array sh e) -> Acc (Array (sh:.Int) e)+rep0 n a = A.replicate (lift (Any:.n)) a++{-+ Example:+ let m1 = A.generate (constant (Z:.3:.5)) (\(I2 x y) -> (A.fromIntegral x :: Exp Double) * 5.0 + (A.fromIntegral y :: Exp Double))+ m2 = A.generate (constant (Z:.5:.3)) (\(I2 x y) -> (A.fromIntegral x :: Exp Double) * 5.0 + (A.fromIntegral y :: Exp Double))+ m1 `mMul` m2 = + [150 160 170+ 400 435 470+ 650 710 770]+-}++-- |Multiply two matrices together without dependent types.+mMul :: A.Num e => Acc (Matrix e) -> Acc (Matrix e) -> Acc (Matrix e)+mMul m1 m2 = do+ let Z:.m1NumRows:._ = unlift (shape m1 :: Exp (Plain (Z:.Int:.Int))) :: (Z:.Exp Int:.Exp Int)+ Z:._:.m2NumCols = unlift (shape m2 :: Exp (Plain (Z:.Int:.Int))) :: (Z:.Exp Int:.Exp Int)+ m1Tensor = transposeOn _1 _2 (rep0 m2NumCols m1)+ m2Tensor = transposeOn _2 _3 (transposeOn _1 _2 (rep0 m1NumRows (A.transpose m2)))+ ret = A.sum (A.zipWith (*) m1Tensor m2Tensor)+ ret++-- |Add two matrices without dependent types.+mAdd :: A.Num e => Acc (Matrix e) -> Acc (Matrix e) -> Acc (Matrix e)+mAdd left right = A.zipWith (+) left right++-- |Subtract one matrix from another without dependent types.+mSub :: A.Num e => Acc (Matrix e) -> Acc (Matrix e) -> Acc (Matrix e)+mSub left right = A.zipWith (-) left right++-- |Dependent type for accelerate matrices.+data AccMat e a b where + -- |Dependently typed accelerated matrix which forces two types to line up.+ AccMat :: (Elt e, A.Num e) => Acc (Matrix e) -> a -> b -> AccMat e a b++-- |Dependent type for plain matrices.+data Mat e a b where+ -- |Dependently typed plain matrix for passing to compiled functions.+ Mat :: (Elt e, A.Num e) => Matrix e -> a -> b -> Mat e a b++-- |Change the type of a dependently typed matrix from AccMat to Mat.+useMat :: Mat e a b -> AccMat e a b+useMat (Mat mat a b) = AccMat (use mat) a b++-- |Multiply two dependently typed matrices together.+-- |For example:+-- +-- @+-- data A = A+-- data B = B+-- data C = C+-- +-- let m1 = AccMat (use (fromList (Z:.10:.12) [0..] :: Matrix Int)) A B+-- let m2 = AccMat (use (fromList (Z:.12:.13) [0..] :: Matrix Int)) B C+-- let mResult = m1 `matMul` m2+matMul :: A.Num e => AccMat e a b -> AccMat e b c -> AccMat e a c+matMul (AccMat left a _) (AccMat right _ c) = AccMat (mMul left right) a c++-- |Add two dependently typed matrices.+matAdd :: A.Num e => AccMat e a b -> AccMat e a b -> AccMat e a b+matAdd (AccMat left a b) (AccMat right _ _) = AccMat (mAdd left right) a b++-- |Subtract one dependently typed matrix from another.+matSub :: A.Num e => AccMat e a b -> AccMat e a b -> AccMat e a b+matSub (AccMat left a b) (AccMat right _ _) = AccMat (mSub left right) a b++-- |Transpose a dependently typed matrix.+matTransp :: AccMat e a b -> AccMat e b a+matTransp (AccMat mat a b) = AccMat (A.transpose mat) b a++-- |Scale a dependently typed matrix.+matScale :: A.Num e => Exp e -> AccMat e a b -> AccMat e a b+matScale s (AccMat m a b) = AccMat (A.map (\x -> s * x) m) a b++-- |Take i columns from the matrix and return it with a new specified number of columns.+matTake :: A.Num e => Exp Int -> AccMat e a b -> c -> AccMat e a c+matTake i (AccMat e a _) c = AccMat (A.take i e) a c++-- |Drop i columns from the matrix and return it with a new specified number of columns.+matDrop :: A.Num e => Exp Int -> AccMat e a b -> c -> AccMat e a c+matDrop i (AccMat e a _) c = AccMat (A.drop i e) a c++-- |Append one matrix to another and return it with a new specified number of columns.+matAppend :: A.Num e => AccMat e a b -> AccMat e a c -> d -> AccMat e a d+matAppend (AccMat e a _) (AccMat e' _ _ ) d = AccMat (e A.++ e') a d++-- |Element-wise multiplication+matZipMul :: A.Num e => AccMat e a b -> AccMat e a b -> AccMat e a b+matZipMul (AccMat e a b) (AccMat e' _ _) = AccMat (A.zipWith (*) e e') a b++-- |Element-wise division+matZipDiv :: (A.Fractional e) => AccMat e a b -> AccMat e a b -> AccMat e a b+matZipDiv (AccMat e a b) (AccMat e' _ _) = AccMat (A.zipWith (/) e e') a b++-- |Apply function element-wise+matMap :: A.Num e => AccMat e a b -> (Exp e -> Exp e) -> AccMat e a b+matMap (AccMat e a b) fn = AccMat (A.map fn e) a b++-- |Find the total number of elements in the matrix+matSize :: A.Elt e => AccMat e a b -> Exp Int+matSize (AccMat m _ _) = A.size m++-- |Zip two matrices together with a function+matZipWith :: (A.Num e, A.Num e1, A.Num e2) => (Exp e -> Exp e1 -> Exp e2) -> AccMat e a b -> AccMat e1 a b -> AccMat e2 a b+matZipWith fn (AccMat m _ _) (AccMat m' a b) = AccMat (A.zipWith fn m m') a b
@@ -0,0 +1,50 @@+# This file was automatically generated by 'stack init'+#+# Some commonly used options have been documented as comments in this file.+# For advanced use and comprehensive documentation of the format, please see:+# https://docs.haskellstack.org/en/stable/yaml_configuration/++# Resolver to choose a 'specific' stackage snapshot or a compiler version.+# A snapshot resolver dictates the compiler version and the set of packages+# to be used for project dependencies. For example:+#+# resolver: lts-22.7+# resolver: nightly-2024-01-20+# resolver: ghc-9.6.4+#+# The location of a snapshot can be provided as a file or url. Stack assumes+# a snapshot provided as a file might change, whereas a url resource does not.+#+# resolver: ./custom-snapshot.yaml+# resolver: https://example.com/snapshots/2023-01-01.yaml+resolver:+ url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/11.yaml++# User packages to be built.+# Various formats can be used as shown in the example below.+#+# packages:+# - some-directory+# - https://example.com/foo/bar/baz-0.0.2.tar.gz+# subdirs:+# - auto-update+# - wai+packages:+- .+# Dependency packages to be pulled from upstream that are not in the resolver.+# These entries can reference officially published versions as well as+# forks / in-progress versions pinned to a git hash. For example:+#+# extra-deps:+# - acme-missiles-0.3+# - git: https://github.com/commercialhaskell/stack.git+# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a+#+# extra-deps: []+pvp-bounds: both+extra-deps:+- github: tmcdonell/lens-accelerate+ commit: c717610c1ea5531d14ef0ca9f8e73e3aa3b80a5e+- github: gregorycollins/hashtables+ commit: 0c5c8548ad7e8e90ab68bfbe6697069c969718aa+- accelerate-1.4.0.0@sha256:f6a60e1802d2340ab4a6334077fad3aad3e0ccc9743377dcf5a98a30a525d021,25886
@@ -0,0 +1,42 @@+# This file was autogenerated by Stack.+# You should not edit this file by hand.+# For more information, please see the documentation at:+# https://docs.haskellstack.org/en/stable/topics/lock_files++packages:+- completed:+ name: lens-accelerate+ pantry-tree:+ sha256: bfd3521fb0160f808bce57f411c2385618cf89db736db8d9f3376380dfd58e53+ size: 1119+ sha256: 346b686a5db952d3a1198d6a613d085a92c80d0d39a8408afe04abccac11e335+ size: 8606+ url: https://github.com/tmcdonell/lens-accelerate/archive/c717610c1ea5531d14ef0ca9f8e73e3aa3b80a5e.tar.gz+ version: 0.3.0.0+ original:+ url: https://github.com/tmcdonell/lens-accelerate/archive/c717610c1ea5531d14ef0ca9f8e73e3aa3b80a5e.tar.gz+- completed:+ name: hashtables+ pantry-tree:+ sha256: dbb923ec2321d67741bcfde3c9dcf3ad53e183110359f5dd633e4c90a4093014+ size: 3320+ sha256: b8c10201f99fd6789d9f8ec7ab70129f2c7b99525fe9f03f690607f3da8ad526+ size: 64815+ url: https://github.com/gregorycollins/hashtables/archive/0c5c8548ad7e8e90ab68bfbe6697069c969718aa.tar.gz+ version: 1.4.2+ original:+ url: https://github.com/gregorycollins/hashtables/archive/0c5c8548ad7e8e90ab68bfbe6697069c969718aa.tar.gz+- completed:+ hackage: accelerate-1.4.0.0@sha256:f6a60e1802d2340ab4a6334077fad3aad3e0ccc9743377dcf5a98a30a525d021,25886+ pantry-tree:+ sha256: 0f012cbb7c5274526a9829aa4c992c4590bccf40835846fbb260d39345cbb94f+ size: 37648+ original:+ hackage: accelerate-1.4.0.0@sha256:f6a60e1802d2340ab4a6334077fad3aad3e0ccc9743377dcf5a98a30a525d021,25886+snapshots:+- completed:+ sha256: 2fdd7d3e54540062ef75ca0a73ca3a804c527dbf8a4cadafabf340e66ac4af40+ size: 712469+ url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/11.yaml+ original:+ url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/11.yaml
@@ -0,0 +1,2 @@+main :: IO ()+main = putStrLn "Test suite not yet implemented"