Grok
9.7.5
src
lib
jp2
highway
hwy
contrib
sort
disabled_targets.h
Go to the documentation of this file.
1
// Copyright 2022 Google LLC
2
// SPDX-License-Identifier: Apache-2.0
3
//
4
// Licensed under the Apache License, Version 2.0 (the "License");
5
// you may not use this file except in compliance with the License.
6
// You may obtain a copy of the License at
7
//
8
// http://www.apache.org/licenses/LICENSE-2.0
9
//
10
// Unless required by applicable law or agreed to in writing, software
11
// distributed under the License is distributed on an "AS IS" BASIS,
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
// See the License for the specific language governing permissions and
14
// limitations under the License.
15
16
// Speed up MSVC builds by building fewer targets. This header must be included
17
// from all TUs that contain a HWY_DYNAMIC_DISPATCH to vqsort, i.e. vqsort_*.cc.
18
// However, users of vqsort.h are unaffected.
19
20
#ifndef HIGHWAY_HWY_CONTRIB_SORT_DISABLED_TARGETS_H_
21
#define HIGHWAY_HWY_CONTRIB_SORT_DISABLED_TARGETS_H_
22
23
#include "
hwy/base.h
"
24
25
#if HWY_COMPILER_MSVC
26
#undef HWY_DISABLED_TARGETS
27
// HWY_SCALAR remains, so there will still be a valid target to call.
28
#define HWY_DISABLED_TARGETS (HWY_SSSE3 | HWY_SSE4)
29
#endif
// HWY_COMPILER_MSVC
30
31
#endif
// HIGHWAY_HWY_CONTRIB_SORT_DISABLED_TARGETS_H_
base.h
Generated by
1.9.1