Граф коммитов

2 Коммитов

Автор SHA1 Сообщение Дата
Kern Handa 544fcc0e01
Refactors and restructures code for tighter integration of HAT object model (#36)
Changes:
* utility functions in `hatlib` now make use of the HAT object model (OM). Previously, `tomlkit` was being using directly and was bypassing the checks and OM construction of child objects.
* `hatlib.load` now returns a `HATPackage` object that results from deserializing the HAT file passed in. Additionally, if functions can be loaded, a non-empty `AttributeDict` is returned as a second value.
* Moved test folder to be a sibling of library folder. Now the package no longer contains the tests when installed. Additionally, the library can be tested by running `python -m unittest discover test` in the root of the repository.
* Adds YAPF style config to setup.cfg and formatted all touched files with `yapf`
2022-03-30 13:50:00 -07:00
Kern Handa 615006cecb
Add beginnings of support for CUDA device functions (#32)
Adds support for GPU, device functions, and launch functions
2022-03-14 23:20:41 -07:00