mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
23 lines
258 B
C++
23 lines
258 B
C++
|
#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
|