mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-26 00:10:38 +01:00
[v1.01] Run multiple independent instructions in the pipeline for AVX freq too. Fixes incorrect frequency measures under certain CPUs
This commit is contained in:
@@ -10,12 +10,6 @@
|
||||
#include <stdint.h>
|
||||
#include "freq.h"
|
||||
|
||||
/*
|
||||
* For AVX512, it seems that multiple independent
|
||||
* instructions are needed to force the CPU to
|
||||
* use AVX512 frequency, since with only one instruction
|
||||
* (as the AVX implementaion) it still uses AVX frequency
|
||||
*/
|
||||
void* compute_avx512() {
|
||||
bool end = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user