History

add option for enable/disable AVX2

Guangwei Wang committed 10 years ago

Commit 7d00e8b1 parent 898073114 files · +56 −1Browse files

Showing the changes to test/processing/ProcessUT_DownSample.cpp (1 of 14 files). Show all

Unified · Split

test/processing/ProcessUT_DownSample.cpp+3−0
@@ -372,12 +372,15 @@ GENERATE_GeneralBilinearDownsampler_UT (GeneralBilinearFastDownsamplerWrap_ssse3 · 371 unmodified lines
372372 WELS_CPU_SSSE3)
373373 GENERATE_GeneralBilinearDownsampler_UT (GeneralBilinearAccurateDownsamplerWrap_sse41,
374374 GeneralBilinearAccurateDownsampler_ref, 1, WELS_CPU_SSE41)
375+#ifdef HAVE_AVX2
375376 GENERATE_GeneralBilinearDownsampler_UT (GeneralBilinearFastDownsamplerWrap_avx2, GeneralBilinearFastDownsampler_ref, 1,
376377 WELS_CPU_AVX2)
377378 GENERATE_GeneralBilinearDownsampler_UT (GeneralBilinearAccurateDownsamplerWrap_avx2,
378379 GeneralBilinearAccurateDownsampler_ref, 1, WELS_CPU_AVX2)
379380 #endif
380381
382+#endif
383+
381384 #if defined(HAVE_NEON)
382385 GENERATE_DyadicBilinearDownsampler_UT (DyadicBilinearDownsamplerWidthx32_neon, 1, WELS_CPU_NEON)
383386 GENERATE_DyadicBilinearDownsampler_UT (DyadicBilinearDownsampler_neon, 1, WELS_CPU_NEON)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t