diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-02 06:14:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-02 06:14:31 -0500 |
| commit | 92d95762c9cf75d9493ec75042c9415b382f10b0 (patch) | |
| tree | dfcbd5b3fb9303e40b32db34cc857243df86ffc9 /examples | |
| parent | a28d3e2e4e99793cf91f919d9341f5e07aa998e1 (diff) | |
| parent | bea0e3e713751e5c2a4d2d4343d8215333eef03e (diff) | |
Merge pull request #37 from amlel-el-mahrouss/developv1
chore: module source code tweaks and improvements.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/fix_tag_example/example.cc | 2 | ||||
| -rw-r--r-- | examples/hash_crc32_example/example.cc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/fix_tag_example/example.cc b/examples/fix_tag_example/example.cc index 640dfbe..ad9725b 100644 --- a/examples/fix_tag_example/example.cc +++ b/examples/fix_tag_example/example.cc @@ -19,6 +19,8 @@ int main(int argc, char** argv) ocl::fix::visitor basic_visitor; ocl::fix::range_data fix = basic_visitor.visit(default_fix); + ocl::io::enable_stdio_sync(false); + ocl::io::print(":key=35\n"); ocl::io::print(":value=", fix["35"], "\n"); diff --git a/examples/hash_crc32_example/example.cc b/examples/hash_crc32_example/example.cc index dc4b3e3..cddebda 100644 --- a/examples/hash_crc32_example/example.cc +++ b/examples/hash_crc32_example/example.cc @@ -6,6 +6,8 @@ int main(int argc, char** argv) if (argc != 2) return 1; std::hash<ocl::crc_hash_trait> hash{}; + + ocl::io::enable_stdio_sync(false); ocl::io::print(hash(argv[1])); return 0; |
