mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
11 lines
175 B
C++
11 lines
175 B
C++
#include <gtest/gtest.h>
|
|
#include "caffe2/utils/cpuid.h"
|
|
|
|
namespace caffe2 {
|
|
|
|
TEST(CpuIdTest, ShouldAlwaysHaveMMX) {
|
|
EXPECT_TRUE(GetCpuId().mmx());
|
|
}
|
|
|
|
} // namespace caffe2
|