Draft
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
jbrezmorf
reviewed
Jan 27, 2026
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") |
CMakeLists.txt
Outdated
| define_test(test_speed bparser) | ||
| define_test(test_simd) | ||
|
|
||
| macro(define_nit_gen make_name def_file gen_file) |
Member
There was a problem hiding this comment.
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) |
Member
There was a problem hiding this comment.
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}) |
Member
There was a problem hiding this comment.
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) |
Member
There was a problem hiding this comment.
zrusit def_file odvozeny make_name
Simplified nitpick related macros in CMakeLists.txt Provided a README to test/cases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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í.