8610e2b9fe
Added functional and negative scenarios for hipMemcpy2DFromArray and
hipMemcpy2DFromArrayAsync APIs
Change-Id: I269499b1d538affd505d9f529e7516cb3aa17863
[ROCm/hip-tests commit: 7b2d95eed1]
24 lines
600 B
CMake
24 lines
600 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
|
|
)
|
|
|
|
# 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)
|