cuda: support cudnn manifests
Also changes the schemas a bit (still don't care about migrations), switches to named_params!, fixes up perf issues when ingesting manifests and/or hrefs into sqlite, etc. Adds sample queries such as "CudaArtifact conflicts" to datasette config, which explain some issues associated with choosing an evalModules schema on the cudaPackages side.
This commit is contained in:
parent
26538edf4f
commit
c8b8b56456
15 changed files with 770 additions and 73 deletions
9
src/q/add-cuda-manifest.sql
Normal file
9
src/q/add-cuda-manifest.sql
Normal file
|
@ -0,0 +1,9 @@
|
|||
INSERT INTO
|
||||
CudaManifest(id, release_date, release_label, release_product)
|
||||
VALUES (
|
||||
(SELECT id FROM Hash WHERE hash=:hash LIMIT 1),
|
||||
(SELECT id FROM Str WHERE str=:release_date LIMIT 1),
|
||||
(SELECT id FROM Str WHERE str=:release_label LIMIT 1),
|
||||
(SELECT id FROM Str WHERE str=:release_product LIMIT 1)
|
||||
)
|
||||
ON CONFLICT DO NOTHING
|
Loading…
Add table
Add a link
Reference in a new issue