Skip to content

Commit

Permalink
Fix 885
Browse files Browse the repository at this point in the history
InvalidBitWidth: Invalid bit width in input: 128
Add -O1 to devicelib compile tests when in debug

* Switch to debug as default
  • Loading branch information
pvelesko committed Jul 24, 2024
1 parent b1c10ba commit 2a9f3b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ set(DEFAULT_WARP_SIZE 32 CACHE STRING "The warp size to use.")

# Set the default build type to Release if not specified
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "The build type to use Debug, Release, RelWithDebInfo, MinRelSize" FORCE)
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "The build type to use Debug, Release, RelWithDebInfo, MinRelSize" FORCE)
endif()
message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")

Expand Down
2 changes: 1 addition & 1 deletion HIP

0 comments on commit 2a9f3b5

Please sign in to comment.