API in readme, simplify required includes
This commit is contained in:
@@ -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) {
|
||||
|
@@ -15,6 +15,7 @@
|
||||
#error "unsupported OS"
|
||||
#endif
|
||||
|
||||
#include "init.hpp"
|
||||
#include "result.hpp"
|
||||
|
||||
namespace perfect {
|
||||
|
@@ -4,6 +4,9 @@
|
||||
|
||||
#include "detail/nvidia/nvidia-ml.hpp"
|
||||
|
||||
#include "result.hpp"
|
||||
#include "init.hpp"
|
||||
|
||||
namespace perfect {
|
||||
|
||||
/*!
|
||||
|
@@ -3,6 +3,7 @@
|
||||
#include "detail/nvidia/nvidia-ml.hpp"
|
||||
|
||||
#include "result.hpp"
|
||||
#include "init.hpp"
|
||||
|
||||
namespace perfect {
|
||||
|
||||
|
@@ -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 {
|
||||
|
||||
|
Reference in New Issue
Block a user