Ensign
Low-rank framework for multi-core CPUs and GPUs
Loading...
Searching...
No Matches
common.hpp File Reference

Provides shared types, platform headers, and basic definitions. More...

#include <iostream>
#include <fstream>
#include <cmath>
#include <iterator>
#include <array>
#include <vector>
#include <algorithm>
#include <assert.h>
#include <complex>
#include <string>
#include <memory>
#include <cblas.h>
#include <fftw3.h>
#include <functional>
#include <random>
#include <omp.h>

Go to the source code of this file.

Namespaces

namespace  Ensign
 Core namespace for Ensign's numerical algorithms and data structures.
 

Typedefs

typedef ptrdiff_t Index
 

Enumerations

enum class  stloc { host , device }
 

Functions

template<typename T , typename... Args>
std::unique_ptr< T > Ensign::make_unique_ptr (Args &&... args)
 

Variables

const int n_threads_omp = 32
 

Detailed Description

Provides shared types, platform headers, and basic definitions.

Definition in file common.hpp.

Typedef Documentation

◆ Index

typedef ptrdiff_t Index

Definition at line 83 of file common.hpp.

Enumeration Type Documentation

◆ stloc

enum class stloc
strong
Enumerator
host 
device 

Definition at line 84 of file common.hpp.

Variable Documentation

◆ n_threads_omp

const int n_threads_omp = 32

Definition at line 91 of file common.hpp.