API in readme, simplify required includes

This commit is contained in:
Carl Pearson
2019-09-20 08:48:26 -05:00
parent a61b3d7fe7
commit 72c39c1dd5
11 changed files with 121 additions and 12 deletions

View File

@@ -24,6 +24,8 @@ Routines for controlling CPU caching
#error "unsupported CPU arch"
#endif
#include "init.hpp"
namespace perfect {
inline void flush_all(void *p, const size_t n) {

View File

@@ -15,6 +15,7 @@
#error "unsupported OS"
#endif
#include "init.hpp"
#include "result.hpp"
namespace perfect {

View File

@@ -4,6 +4,9 @@
#include "detail/nvidia/nvidia-ml.hpp"
#include "result.hpp"
#include "init.hpp"
namespace perfect {
/*!

View File

@@ -3,6 +3,7 @@
#include "detail/nvidia/nvidia-ml.hpp"
#include "result.hpp"
#include "init.hpp"
namespace perfect {

View File

@@ -1,13 +1,9 @@
#pragma once
#include <vector>
#include <string>
#include <cassert>
#ifdef __linux__
#include "detail/os/linux.hpp"
#else
@@ -15,6 +11,7 @@
#endif
#include "result.hpp"
#include "init.hpp"
namespace perfect {