Skip to content

Instantly share code, notes, and snippets.

View craiglpeters's full-sized avatar

Craig Peters craiglpeters

View GitHub Profile
@craiglpeters
craiglpeters / README.md
Last active September 13, 2022 23:32 — forked from crazy4pi314/README.md
qat tutorial/sample use in Codespaces

This is an annotated version of the original

Note: I removed the relative paths from the devcontainer on this branch https://github.com/craiglpeters/qat/tree/devcontainer-opt and now the postCreateCommand runs successfully on codespace startup

Note: I tested pre-builds... testing in progress

Note: Testing postStartCommand to adutomate the build of qat: "postStartCommand": "mkdir Debug ; cd Debug ; cmake .. ; make qat ; ./qir/qat/Apps/qat --apply --profile default -S ../qir/qir-tests/reduction_tests/inlining-input.ll"

  1. Open the qat codespace, and if it errors from being out of memory, locally clone and use remote dev containers to create docker

Note: I used an 8 core Codespace with no problems