Skip to content

Commit

Permalink
Hack header that includes cpuid.h
Browse files Browse the repository at this point in the history
  • Loading branch information
honnibal committed Jan 10, 2025
1 parent 668b30c commit df6dfdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blis/_src/include/windows-generic/blis.h
Original file line number Diff line number Diff line change
Expand Up @@ -25981,7 +25981,7 @@ static bool_t bli_cpuid_has_features( uint32_t have, uint32_t want )

#if defined(__x86_64__) || defined(_M_X64) || defined(__i386) || defined(_M_IX86)

#include "cpuid.h" // skipped
//#include "cpuid.h" // skipped

void get_cpu_name( char *cpu_name );
int vpu_count( void );
Expand Down
4 changes: 2 additions & 2 deletions blis/_src/include/windows-x86_64/blis.h
Original file line number Diff line number Diff line change
Expand Up @@ -26890,9 +26890,9 @@ static bool_t bli_cpuid_has_features( uint32_t have, uint32_t want )

// -----------------------------------------------------------------------------

#if defined(__x86_64__) || defined(_M_X64) || defined(__i386) || defined(_M_IX86)
#if 0 //defined(__x86_64__) || defined(_M_X64) || defined(__i386) || defined(_M_IX86)

#include "cpuid.h" // skipped
//#include "cpuid.h" // skipped

void get_cpu_name( char *cpu_name );
int vpu_count( void );
Expand Down

0 comments on commit df6dfdd

Please sign in to comment.