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