Skip to content

Commit

Permalink
Update deps (kpet#632)
Browse files Browse the repository at this point in the history
* Update deps

The LLVM update might fix Windows bots.

Change-Id: I72141a42b611565fcba926740ff6a7807a8edfb9

* disable MSVC warning

Change-Id: I16c7b4f2bf252d71ffabdf105e0dcfcfac213dcc

* use constexpr to prevent vla

Change-Id: Ifc48a264202096e7b420f9626e3d4ca7bbc153a1
  • Loading branch information
kpet authored Nov 11, 2023
1 parent a4e685c commit 9c0f790
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ endif()

# clspv
if(MSVC)
add_compile_options(/wd4574)
add_compile_options(/wd4574 /wd4668)
endif()

if (CLVK_COMPILER_AVAILABLE)
Expand Down
2 changes: 1 addition & 1 deletion external/SPIRV-LLVM-Translator
2 changes: 1 addition & 1 deletion external/clspv
Submodule clspv updated 2 files
+1 −1 deps.json
+1 −1 lib/FrontendPlugin.cpp
4 changes: 2 additions & 2 deletions tests/api/images.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,8 @@ kernel void test(global uint* dst, uint magic, image2d_t read_only image, uint o
}

TEST_F(WithCommandQueue, ReadImage3DWithUnormSampler) {
const size_t sizes[3] = {7, 7, 7};
const unsigned nb_elem = sizes[0] * sizes[1] * sizes[2];
constexpr size_t sizes[3] = {7, 7, 7};
constexpr unsigned nb_elem = sizes[0] * sizes[1] * sizes[2];
cl_uint input[nb_elem];
cl_uint output[nb_elem];
srand(nb_elem);
Expand Down

0 comments on commit 9c0f790

Please sign in to comment.