-
Notifications
You must be signed in to change notification settings - Fork 4
LV_BP #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: LV_eigen
Are you sure you want to change the base?
LV_BP #29
Conversation
… print the variable and constant names in dot
…ison operators and static cast to double, not possible for Bparser
…om bparsed string
…DEF_FILE and GEN_FILE Renamed NITPICK_INLCLUDE_ONLY to NITPICK_IDE_IGNROE
…th norm2_gen_edit.hh
CMakeLists.txt
Outdated
|
|
||
| macro(define_nit_gen make_name def_file gen_file) | ||
| set(src_name "nitpick_generate") | ||
| set(nit_source "${CMAKE_CURRENT_SOURCE_DIR}/nitpick/${src_name}.cc") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
simplify
CMakeLists.txt
Outdated
| define_test(test_speed bparser) | ||
| define_test(test_simd) | ||
|
|
||
| macro(define_nit_gen make_name def_file gen_file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zrusit def_file, gen_file jako samostatne parametry; odvodit of make_name
CMakeLists.txt
Outdated
| define_nit_run(${make_name} ${def_file} ${gen_file}) | ||
| endmacro() | ||
|
|
||
| define_nit(basic_expr basic_expr_def.hh basic_expr_gen.hh) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
define_nit_test(basic_expr)
define_nit_test(norm2)
define_nit_test = define_nit
CMakeLists.txt
Outdated
| macro(define_nit make_name def_file gen_file) | ||
| define_nit_gen(${make_name} ${def_file} ${gen_file}) | ||
|
|
||
| define_nit_run(${make_name} ${def_file} ${gen_file}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Define nit_run vzdy pro *gen_ref.h a pro *_gen_edit.h.
CMakeLists.txt
Outdated
| WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/cases") | ||
| endmacro() | ||
|
|
||
| macro(define_nit_run make_name def_file gen_file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zrusit def_file odvozeny make_name
Simplified nitpick related macros in CMakeLists.txt Provided a README to test/cases
Pomocí knihovny Eigen a šablonové techniky implementujte operace:
Porovnejte rychlost vyhodnocení v BParseru vůči C++ implementaci a vůči Numpy pro vybrané komplexní operace.
Implementujte funkce pro výpis a načtení acyklického grafu operací.
Pro vybrané komplexní operace proveďte manuální optimalizaci jejich grafů včetně použití sdružených elementárních operací (např: Y += a * b).
Implementujte uspořádání grafu operací do kanonické formy pro jednodušší vyhledávání možných sdružených operací.
Implementujte vyhledávání a aplikaci sdružených operací.