1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Display dialog when CPU doesn't support AVX/AVX2.

This commit is contained in:
Bartosz Taudul
2018-08-19 22:20:08 +02:00
parent 7fc1729f3b
commit aefa2a9573
4 changed files with 63 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifdef _WIN32
namespace tracy
{
bool DiscoveryAVX()
{
#ifdef __AVX__
return true;
#else
return false;
#endif
}
bool DiscoveryAVX2()
{
#ifdef __AVX2__
return true;
#else
return false;
#endif
}
}
#endif