346a77b4c0
Migrated all hipMemcpy related APIs to CATCH2 framework by optmizing the code and moving the stress related tests to stress folder. Change-Id: Id47669b49304c35d1a68fabdaaf3f6e3ab0428a5
34 wiersze
853 B
CMake
34 wiersze
853 B
CMake
# Common Tests - Test independent of all platforms
|
|
set(TEST_SRC
|
|
memset.cc
|
|
malloc.cc
|
|
hipMemcpy2DToArray.cc
|
|
hipMemcpy2DToArrayAsync.cc
|
|
hipMemcpyPeer.cc
|
|
hipMemcpyPeerAsync.cc
|
|
hipMemcpy3D.cc
|
|
hipMemcpy3DAsync.cc
|
|
hipMemcpyParam2D.cc
|
|
hipMemcpyParam2DAsync.cc
|
|
hipMemcpy2D.cc
|
|
hipMemcpy2DAsync.cc
|
|
hipMemcpy2DFromArray.cc
|
|
hipMemcpy2DFromArrayAsync.cc
|
|
hipMemcpyAtoH.cc
|
|
hipMemcpyHtoA.cc
|
|
hipMemcpyDtoD.cc
|
|
hipMemcpyDtoDAsync.cc
|
|
hipMemcpyAsync.cc
|
|
hipMemcpy.cc
|
|
hipMemcpyWithStream.cc
|
|
hipMemcpyAllApiNegative.cc
|
|
hipMemcpyWithStreamMultiThread.cc
|
|
hipMemcpy_MultiThread.cc
|
|
)
|
|
|
|
# Create shared lib of all tests
|
|
add_library(MemoryTest SHARED EXCLUDE_FROM_ALL ${TEST_SRC})
|
|
|
|
# Add dependency on build_tests to build it on this custom target
|
|
add_dependencies(build_tests MemoryTest)
|