-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
33 lines (25 loc) · 986 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include "memory.h"
#include "model.h"
#include "tests/test.h"
#include "device.h"
using namespace std;
//#undef __APPLE__
int main()
{
PrintDevices();
Test<std::function<void()>, StopwatchMillis>(test_1, "test 1");
Test<std::function<void()>, StopwatchMillis>(test_2, "test 2");
Test<std::function<void()>, StopwatchMillis>(test_3, "test 3");
Test<std::function<void()>, StopwatchMillis>(test_4, "test 4");
Test<std::function<void()>, StopwatchMillis>(test_5, "test 5");
Test<std::function<void()>, StopwatchMillis>(test_6, "test 6");
if (IsGPUAvailable())
{
Test<std::function<void()>, StopwatchMillis>(test_7, "test 7");
Test<std::function<void()>, StopwatchMillis>(test_8, "test 8");
Test<std::function<void()>, StopwatchMillis>(test_9, "test 9");
Test<std::function<void()>, StopwatchMillis>(test_10, "test 10");
}
Test<std::function<void()>, StopwatchMillis>(test_11, "test 11");
return 0;
}