Skip to content

Commit 7a74129

Browse files
vgvozdevavpirogov
authored andcommitted
all: updated default branch name to main
1 parent 56e219e commit 7a74129

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ the following information to help reproduce the issue:
2828

2929
# Steps to reproduce
3030
Please check that the issue is reproducible with the latest revision on
31-
master. Include all the steps to reproduce the issue.
31+
main. Include all the steps to reproduce the issue.
3232

3333
You can use [verbose mode](https://uxlfoundation.github.io/oneDNN/dev_guide_verbose.html)
34-
and [benchdnn](https://github.com/uxlfoundation/oneDNN/tree/master/tests/benchdnn)
34+
and [benchdnn](https://github.com/uxlfoundation/oneDNN/tree/main/tests/benchdnn)
3535
to validate correctness of all primitives the library supports. If this does not
3636
work a short C/C++ program or modified unit tests demonstrating the issue
3737
will greatly help with the investigation.
@@ -40,7 +40,7 @@ will greatly help with the investigation.
4040
Document behavior you observe. For performance defects, like performance
4141
regressions or a function being slow, provide a log including output generated
4242
by your application in
43-
[verbose mode](https://uxlfoundation.github.io/oneDNN/dev_guide_verbose.html).
43+
[verbose mode](https://uxlfoundation.github.io/oneDNN/dev_guide_verbose.html).
4444

4545
# Expected behavior
4646
Document behavior you expect.

.github/pull_request_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Description
22

3-
Please include a summary of the change. Please also include relevant motivation and context. See [contribution guidelines](https://github.com/uxlfoundation/oneDNN/blob/master/CONTRIBUTING.md) for more details. If the change fixes an issue not documented in the project's Github issue tracker, please document all steps necessary to reproduce it.
3+
Please include a summary of the change. Please also include relevant motivation and context. See [contribution guidelines](https://github.com/uxlfoundation/oneDNN/blob/main/CONTRIBUTING.md) for more details. If the change fixes an issue not documented in the project's Github issue tracker, please document all steps necessary to reproduce it.
44

55
Fixes # (github issue)
66

doc/advanced/understanding_memory_formats.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ in this example.
115115

116116
One can create memory with **NCHW** data layout using
117117
#dnnl_nchw of the enum type #dnnl_format_tag_t defined in
118-
[dnnl_types.h](https://github.com/uxlfoundation/oneDNN/blob/master/include/oneapi/dnnl/dnnl_types.h)
118+
[dnnl_types.h](https://github.com/uxlfoundation/oneDNN/blob/main/include/oneapi/dnnl/dnnl_types.h)
119119
for the C API, and dnnl::memory::format_tag::nchw defined in
120-
[dnnl.hpp](https://github.com/uxlfoundation/oneDNN/blob/master/include/oneapi/dnnl/dnnl.hpp)
120+
[dnnl.hpp](https://github.com/uxlfoundation/oneDNN/blob/main/include/oneapi/dnnl/dnnl.hpp)
121121
for the C++ API.
122122

123123

doc/build/build.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Build from Source {#dev_guide_build}
33

44
## Download the Source Code
55

6-
Download [oneDNN source code](https://github.com/uxlfoundation/oneDNN/archive/master.zip)
6+
Download [oneDNN source code](https://github.com/uxlfoundation/oneDNN/archive/main.zip)
77
or clone [the repository](https://github.com/uxlfoundation/oneDNN.git).
88

99
~~~sh

doc/build/build_options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ $ cmake -DONEDNN_BLAS_VENDOR=ARMPL ..
303303

304304
Additional options available for development/debug purposes. These options are
305305
subject to change without notice, see
306-
[`cmake/options.cmake`](https://github.com/uxlfoundation/oneDNN/blob/master/cmake/options.cmake)
306+
[`cmake/options.cmake`](https://github.com/uxlfoundation/oneDNN/blob/main/cmake/options.cmake)
307307
for details.
308308

309309
## GPU Options

doc/performance_considerations/benchdnn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Benchmarking Performance {#dev_guide_benchdnn}
44
oneDNN has a built-in benchmarking program called benchdnn.
55

66
For a complete description of the available options and working examples, see
7-
the [benchdnn readme](https://github.com/uxlfoundation/oneDNN/blob/master/tests/benchdnn/README.md#benchdnn).
7+
the [benchdnn readme](https://github.com/uxlfoundation/oneDNN/blob/main/tests/benchdnn/README.md#benchdnn).

doc/sphinx/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def whereis(binary):
137137

138138
html_theme_options = {
139139
"repository_url": "https://github.com/uxlfoundation/oneDNN",
140-
"repository_branch": "master",
140+
"repository_branch": "main",
141141
"use_repository_button": True,
142142
"use_download_button": False
143143
}

tests/benchdnn/utils/parser.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const size_t eol = std::string::npos;
3030
std::stringstream help_ss;
3131

3232
static const std::string benchdnn_url
33-
= "https://github.com/uxlfoundation/oneDNN/blob/master/tests/benchdnn";
33+
= "https://github.com/uxlfoundation/oneDNN/blob/main/tests/benchdnn";
3434
static const std::string doc_url = benchdnn_url + "/doc/";
3535

3636
namespace parser_utils {
@@ -549,7 +549,7 @@ bool parse_encoding(std::vector<sparse_options_t> &sparse_options,
549549
static const std::string help
550550
= "ENCODING[+SPARSITY]:ENCODING[+SPARSITY]:ENCODING[+SPARSITY]\n "
551551
"Specifies sparse encodings and sparsity.\n More details at "
552-
"https://github.com/uxlfoundation/oneDNN/blob/master/tests/"
552+
"https://github.com/uxlfoundation/oneDNN/blob/main/tests/"
553553
"benchdnn/doc/knobs_encoding.md\n";
554554

555555
std::vector<sparse_options_t> def {sparse_options_t()};
@@ -594,7 +594,7 @@ bool parse_attr_post_ops(std::vector<attr_t::post_ops_t> &po, const char *str,
594594
"is one of those:\n * SUM[:SCALE[:ZERO_POINT[:DATA_TYPE]]]\n "
595595
" * ELTWISE[:ALPHA[:BETA[:SCALE]]]\n * DW:KkSsPp[:DST_DT]\n "
596596
" * BINARY:DT[:MASK_INPUT[:TAG]]\n More details at "
597-
"https://github.com/uxlfoundation/oneDNN/blob/master/tests/"
597+
"https://github.com/uxlfoundation/oneDNN/blob/main/tests/"
598598
"benchdnn/doc/knobs_attr.md\n";
599599
std::vector<attr_t::post_ops_t> def {attr_t::post_ops_t()};
600600
return parse_vector_option(po, def, parser_utils::parse_attr_post_ops_func,
@@ -606,7 +606,7 @@ bool parse_attr_scales(std::vector<attr_t::arg_scales_t> &scales,
606606
static const std::string help
607607
= "ARG:POLICY[:SCALE][+...]\n Specifies input scales "
608608
"attribute.\n More details at "
609-
"https://github.com/uxlfoundation/oneDNN/blob/master/tests/"
609+
"https://github.com/uxlfoundation/oneDNN/blob/main/tests/"
610610
"benchdnn/doc/knobs_attr.md\n";
611611
return parse_subattr(scales, str, option_name, help);
612612
}
@@ -616,7 +616,7 @@ bool parse_attr_zero_points(std::vector<attr_t::zero_points_t> &zp,
616616
static const std::string help
617617
= "ARG:POLICY[:ZEROPOINT][+...]\n Specifies zero-points "
618618
"attribute.\n More details at "
619-
"https://github.com/uxlfoundation/oneDNN/blob/master/tests/"
619+
"https://github.com/uxlfoundation/oneDNN/blob/main/tests/"
620620
"benchdnn/doc/knobs_attr.md\n";
621621
return parse_subattr(zp, str, option_name, help);
622622
}
@@ -1461,7 +1461,7 @@ bool parse_bench_settings(const char *str) {
14611461
help_ss << "= Global options: =\n";
14621462
help_ss << "===================\n";
14631463
help_ss << "(More technical details available at "
1464-
"https://github.com/uxlfoundation/oneDNN/blob/master/tests/"
1464+
"https://github.com/uxlfoundation/oneDNN/blob/main/tests/"
14651465
"benchdnn/doc/knobs_common.md)\n\n";
14661466
start_msg = true;
14671467
}
@@ -1486,7 +1486,7 @@ bool parse_bench_settings(const char *str) {
14861486
help_ss << "= Driver options: =\n";
14871487
help_ss << "===================\n";
14881488
help_ss << "(More technical details available at "
1489-
"https://github.com/uxlfoundation/oneDNN/blob/master/tests/"
1489+
"https://github.com/uxlfoundation/oneDNN/blob/main/tests/"
14901490
"benchdnn/doc/driver_"
14911491
<< driver_name << ".md)\n\n";
14921492
end_msg = true;

0 commit comments

Comments
 (0)