github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/third_party/hwloc/static-components.h (about)

     1  /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
     2  
     3  Licensed under the Apache License, Version 2.0 (the "License");
     4  you may not use this file except in compliance with the License.
     5  You may obtain a copy of the License at
     6  
     7      http://www.apache.org/licenses/LICENSE-2.0
     8  
     9  Unless required by applicable law or agreed to in writing, software
    10  distributed under the License is distributed on an "AS IS" BASIS,
    11  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  See the License for the specific language governing permissions and
    13  limitations under the License.
    14  ==============================================================================*/
    15  
    16  #ifndef THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_
    17  #define THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_
    18  
    19  #include <private/internal-components.h>
    20  static const struct hwloc_component* hwloc_static_components[] = {
    21      &hwloc_noos_component,
    22      &hwloc_xml_component,
    23      &hwloc_synthetic_component,
    24      &hwloc_xml_nolibxml_component,
    25  #ifdef __Linux__
    26      &hwloc_linux_component,
    27      &hwloc_linuxio_component,
    28  #endif
    29  #ifdef __FreeBSD__
    30      &hwloc_freebsd_component,
    31  #endif
    32  #if defined(__x86_64__) || defined(__amd64__) || defined(_M_IX86) || \
    33      defined(_M_X64)
    34      &hwloc_x86_component,
    35  #endif
    36      NULL};
    37  
    38  #endif  // THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_