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
Show hidden characters
{ | |
"rules": { | |
"adjacent-overload-signatures": true, | |
"ban-types": [ | |
[ | |
"Object", | |
"Avoid using the `Object` type. Did you mean `object`?" | |
], | |
[ | |
"Function", |
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
{ | |
"editor.cursorBlinking": "phase", | |
"editor.cursorStyle": "block", | |
"editor.emptySelectionClipboard": false, | |
"editor.fontFamily": "Iosevka, Consolas, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 14, | |
"editor.fontWeight": "500", | |
"editor.mouseWheelZoom": true, | |
"editor.renderControlCharacters": true, |
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
#! /usr/bin/env bash | |
set -euC -o pipefail | |
root_dir="$(pwd)" | |
platform='MinGW-w64' | |
build_dir="build-${platform}" | |
install_dir="install-${platform}" | |
lib_name='Halide' | |
lib_ver='release_2018_02_15' |
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
#! /usr/bin/env bash | |
set -euC -o pipefail | |
root_dir="$(pwd)" | |
platform='MinGW-w64' | |
build_dir="build-${platform}" | |
install_dir="install-${platform}" | |
lib_name='fmt' | |
lib_ver='5.0.0' |
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
#!/usr/bin/env bash | |
export PATH="./bin:${PATH}" | |
# base_style='v-a-singlestorey v-g-singlestorey v-zero-dotted v-tilde-high v-asterisk-high v-underscore-low v-paragraph-high v-m-shortleg v-caret-high v-at-short v-eszet-sulzbacher v-brace-curly' | |
# base_style='v-a-singlestorey v-g-singlestorey v-m-shortleg v-t-standard v-q-straight v-zero-dotted v-tilde-high v-asterisk-high v-paragraph-high v-caret-high v-underscore-high v-at-short v-eszet-sulzbacher v-brace-curly v-dollar-open v-numbersign-slanted' | |
base_style='v-a-singlestorey v-g-singlestorey v-m-shortleg v-t-standard v-q-straight v-zero-dotted v-tilde-high v-asterisk-high v-paragraph-high v-caret-high v-underscore-high v-at-short v-eszet-sulzbacher v-brace-curly v-dollar-open v-numbersign-slanted v-three-flattop' | |
sans_style='v-l-italic v-i-italic' | |
slab_style='v-l-serifed v-i-serifed' | |
set_name='Iosevka++' |
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
export default class AnalogClock implements ClockInterface { | |
hour: number; | |
minute: number; | |
constructor(h: number, m: number) { | |
this.hour = h; | |
this.minute = m; | |
} | |
tick(): void { |
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
#include <cstddef> // EXIT_SUCCESS | |
#include <cstdint> // std::{uint8_t, int32_t} | |
#include <limits> // std::numeric_limits | |
#include <string> // std::string | |
#include "fmt/format.h" // fmt::format | |
#include "Halide/Halide.h" // Halide::* | |
#include "Halide/tools/halide_image_io.h" // Halide::Tools::{load, save}_image |
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
https://math.stackexchange.com/questions/2408108/what-are-some-mathematically-interesting-computations-involving-matrices |
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
#!/usr/bin/env bash | |
export PATH="./bin:${PATH}" | |
# base_style='v-a-singlestorey v-g-singlestorey v-zero-dotted v-tilde-high v-asterisk-high v-underscore-low v-paragraph-high v-m-shortleg v-caret-high v-at-short v-eszet-sulzbacher v-brace-curly' | |
# base_style='v-a-singlestorey v-g-singlestorey v-m-shortleg v-t-standard v-q-straight v-zero-dotted v-tilde-high v-asterisk-high v-paragraph-high v-caret-high v-underscore-high v-at-short v-eszet-sulzbacher v-brace-curly v-dollar-open v-numbersign-slanted' | |
base_style='v-a-singlestorey v-g-singlestorey v-m-shortleg v-t-standard v-q-straight v-zero-dotted v-tilde-high v-asterisk-high v-paragraph-high v-caret-high v-underscore-high v-at-short v-eszet-sulzbacher v-brace-curly v-dollar-open v-numbersign-slanted v-three-flattop' | |
sans_style='v-l-italic v-i-italic' | |
slab_style='v-l-serifed v-i-serifed' |
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
# 'make' builds libHalide.a, the internal test suite, and runs the internal test suite | |
# 'make run_tests' builds and runs all the end-to-end tests in the test subdirectory | |
# 'make {error,performance}_foo' builds and runs test/{...}/foo.cpp for any | |
# cpp file in the corresponding subdirectory of the test folder | |
# 'make test_foo' builds and runs test/correctness/foo.cpp for any | |
# cpp file in the correctness/ subdirectoy of the test folder | |
# 'make test_apps' checks some of the apps build and run (but does not check their output) | |
# 'make time_compilation_tests' records the compile time for each test module into a csv file. | |
# For correctness and performance tests this include halide build time and run time. For | |
# the tests in test/generator/ this times only the halide build time. |