1 | namespace dnnl { |
2 | namespace impl { |
3 | namespace gpu { |
4 | namespace ocl { |
5 | const char * = R"==(/******************************************************************************* )==" "\n" |
6 | R"==(* Copyright 2022 Intel Corporation )==" "\n" |
7 | R"==(* )==" "\n" |
8 | R"==(* Licensed under the Apache License, Version 2.0 (the "License"); )==" "\n" |
9 | R"==(* you may not use this file except in compliance with the License. )==" "\n" |
10 | R"==(* You may obtain a copy of the License at )==" "\n" |
11 | R"==(* )==" "\n" |
12 | R"==(* http: )==" "\n" |
13 | R"==(* )==" "\n" |
14 | R"==(* Unless required by applicable law or agreed to in writing, software )==" "\n" |
15 | R"==(* distributed under the License is distributed on an "AS IS" BASIS, )==" "\n" |
16 | R"==(* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. )==" "\n" |
17 | R"==(* See the License for the specific language governing permissions and )==" "\n" |
18 | R"==(* limitations under the License. )==" "\n" |
19 | R"==(*******************************************************************************/ )==" "\n" |
20 | R"==(#ifndef GPU_OCL_GEMM_OCL_GEMM_ATTRS_H )==" "\n" |
21 | R"==(#define GPU_OCL_GEMM_OCL_GEMM_ATTRS_H )==" "\n" |
22 | R"==(#if WITH_SCALES )==" "\n" |
23 | R"==(#define ATTR_ALPHA alpha[0] )==" "\n" |
24 | R"==(#else )==" "\n" |
25 | R"==(#define ATTR_ALPHA 1.0f )==" "\n" |
26 | R"==(#endif )==" "\n" |
27 | R"==(#if WITH_SRC_ZPOINTS )==" "\n" |
28 | R"==(#define ATTR_A0 ao[0] )==" "\n" |
29 | R"==(#else )==" "\n" |
30 | R"==(#define ATTR_A0 0 )==" "\n" |
31 | R"==(#endif )==" "\n" |
32 | R"==(#if WITH_WEI_ZPOINTS )==" "\n" |
33 | R"==(#define ATTR_B0 bo[0] )==" "\n" |
34 | R"==(#else )==" "\n" |
35 | R"==(#define ATTR_B0 0 )==" "\n" |
36 | R"==(#endif )==" "\n" |
37 | R"==(#endif )==" "\n" |
38 | R"==()==" ; |
39 | } |
40 | } |
41 | } |
42 | } |