Skip to content

Commit

Permalink
Print fbow output on test_package avoiding possible compiler optimiza…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
perseoGI committed Jun 11, 2024
1 parent f26c1a8 commit 1ee9bd1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion recipes/stella-cv-fbow/all/test_package/test_package.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#include <fbow/fbow.h>
#include <fbow/cpu.h>
#include <iostream>

int main() {
fbow::cpu().detect_host();
auto features = fbow::cpu();
features.detect_host();
std::cout << "CPU Vendor String: " << fbow::cpu::get_vendor_string() << '\n';
std::cout << "64-bit = " << features.OS_x64 << '\n';
}

0 comments on commit 1ee9bd1

Please sign in to comment.