Skip to content

Commit

Permalink
re-enable some --genco
Browse files Browse the repository at this point in the history
* device-side mallloc and free, wall_clock placeholders were implemented
  • Loading branch information
pvelesko committed Apr 2, 2024
1 parent 52a8b06 commit bbbfe89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions catch/multiproc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ hip_add_exe_to_target(NAME MultiProc
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests
LINKER_LIBS hiprtc)
elseif(HIP_PLATFORM MATCHES "spirv")
hip_add_exe_to_target(NAME MultiProc
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests
)
endif()

if(UNIX)
Expand Down
4 changes: 1 addition & 3 deletions catch/unit/deviceLib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,4 @@ elseif(HIP_PLATFORM MATCHES "nvidia" OR HIP_PLATFORM MATCHES "spirv")
COMPILE_OPTIONS -Wno-deprecated-declarations) #--Wno-deprecated-declarations unrecognized clang++
endif()

if (NOT HIP_PLATFORM MATCHES "spirv")
add_dependencies(build_tests kerDevAllocMultCO.code kerDevWriteMultCO.code kerDevFreeMultCO.code kerDevAllocSingleKer.code)
endif()
add_dependencies(build_tests kerDevAllocMultCO.code kerDevWriteMultCO.code kerDevFreeMultCO.code kerDevAllocSingleKer.code)

0 comments on commit bbbfe89

Please sign in to comment.