Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ling0322 committed Aug 20, 2024
1 parent 141d67b commit 0802ba9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
build:
runs-on: windows-2022
runs-on: windows-2019
steps:
- uses: Jimver/[email protected]
id: cuda-toolkit
Expand Down
8 changes: 0 additions & 8 deletions src/lut/platform_windows.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@

namespace lut {

bool isAvx512Available() {
return IsProcessorFeaturePresent(PF_AVX512F_INSTRUCTIONS_AVAILABLE) == TRUE;
}

bool isAvx2Available() {
return IsProcessorFeaturePresent(PF_AVX2_INSTRUCTIONS_AVAILABLE) == TRUE;
}

void *alloc32ByteAlignedMem(int64_t size) {
return _aligned_malloc(size, 32);
}
Expand Down

0 comments on commit 0802ba9

Please sign in to comment.