This website requires JavaScript.
Explore
Help
Sign In
cwpearson
/
astaroth
Watch
1
Star
0
Fork
0
You've already forked astaroth
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
3bb6ca17126ce654c59f8d0ca3ad6872ef52e9ba
astaroth
/
scripts
History
jpekkila
3bb6ca1712
The Astaroth Code Compiler (acc) is now built with cmake. Additionally, make is now used to generate the CUDA headers from DSL sources. The headers are also properly regenerated whenever a DSL file has been changed. With this commit, the DSL is now seamlessly integrated to the library and we no longer need complicated scripts to figure out the correct files. The current workflow for using custom DSL sources is to pass the DSL module directory to cmake, f.ex. cmake -DDSL_MODULE_DIR=/acc/mhd_solver. Note that the path must be absolute or then given relative to the CMakeLists.txt directory. f.ex cd build && cmake -DDSL_MODULE_DIR=../acc/mhd_solver does not work. CMake then takes all DSL files in that directory and handles the rest.
2019-09-18 17:28:29 +03:00
..
ac_mkbuilddir.sh
CONFIG_PATH is now supplied by ac_mkbuilddir. While using would be a bit more idiomatic, ASTAROTH_CONF_PATH is probably safer since ac_mkbuilddir.sh does the copying and knows for sure what the correct path is.
2019-07-29 15:55:27 +03:00
autotest.sh
SRUN_COMMAND has to be exported for it to be available in autotest.sh
2019-08-07 16:22:55 +03:00
compile_acc_module.sh
The Astaroth Code Compiler (acc) is now built with cmake. Additionally, make is now used to generate the CUDA headers from DSL sources. The headers are also properly regenerated whenever a DSL file has been changed. With this commit, the DSL is now seamlessly integrated to the library and we no longer need complicated scripts to figure out the correct files. The current workflow for using custom DSL sources is to pass the DSL module directory to cmake, f.ex. cmake -DDSL_MODULE_DIR=/acc/mhd_solver. Note that the path must be absolute or then given relative to the CMakeLists.txt directory. f.ex cd build && cmake -DDSL_MODULE_DIR=../acc/mhd_solver does not work. CMake then takes all DSL files in that directory and handles the rest.
2019-09-18 17:28:29 +03:00
compile_acc.sh
compile_acc.sh edited online with Bitbucket. Corrections to --help.
2019-09-16 02:16:15 +00:00
preprocess_device_files.sh
Added a script for preprocessing the device files. Useful for inspecting whether the DSL code is generated correctly.
2019-08-27 18:15:30 +03:00