pytorch  1.8.2
About: PyTorch provides Tensor computation (like NumPy) with strong GPU acceleration and Deep Neural Networks (in Python) built on a tape-based autograd system. LTS (Long Term Support) release.
  Fossies Dox: pytorch-1.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

cpuid.h File Reference
#include <cstdint>
#include "caffe2/core/common.h"
Include dependency graph for cpuid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  caffe2::CpuId
 Identification of an Intel CPU. More...
 

Namespaces

namespace  caffe2
 Copyright (c) 2016-present, Facebook, Inc.
 

Macros

#define X(name, r, bit)
 
#define C(name, bit)   X(name, f1c_, bit)
 
#define D(name, bit)   X(name, f1d_, bit)
 
#define B(name, bit)   X(name, f7b_, bit)
 
#define E(name, bit)   X(name, f7c_, bit)
 

Functions

const CpuId & caffe2::GetCpuId ()
 

Macro Definition Documentation

◆ B

#define B (   name,
  bit 
)    X(name, f7b_, bit)

Definition at line 105 of file cpuid.h.

◆ C

#define C (   name,
  bit 
)    X(name, f1c_, bit)

Definition at line 40 of file cpuid.h.

◆ D

#define D (   name,
  bit 
)    X(name, f1d_, bit)

Definition at line 72 of file cpuid.h.

◆ E

#define E (   name,
  bit 
)    X(name, f7c_, bit)

Definition at line 132 of file cpuid.h.

◆ X

#define X (   name,
  r,
  bit 
)
Value:
inline bool name() const { \
return ((r) & (1U << bit)) != 0; \
}
const int r
std::string name

Definition at line 34 of file cpuid.h.