add tracy
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user