95ab459a4c
* Use static catch2.lib instead of catch2.dll Using catch2.dll incraeses execution time by 12x * handle debug option for static catch2 * SWDEV-573539 - skip atomics on windows since its taking a very long time to execute mlsejenkins needs newer cmake but compiler breaks with newer versions so skipping on windows can be a workaround for now --------- Co-authored-by: Joseph Macaranas <145489236+jayhawk-commits@users.noreply.github.com>
72 γραμμές
2.6 KiB
CMake
72 γραμμές
2.6 KiB
CMake
# Copyright (c) 2021-2023 Advanced Micro Devices, Inc. All Rights Reserved.
|
|
#
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
# in the Software without restriction, including without limitation the rights
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
# furnished to do so, subject to the following conditions:
|
|
#
|
|
# The above copyright notice and this permission notice shall be included in
|
|
# all copies or substantial portions of the Software.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
# THE SOFTWARE.
|
|
|
|
add_subdirectory(rtc)
|
|
add_subdirectory(graph)
|
|
add_subdirectory(memory)
|
|
add_subdirectory(stream)
|
|
add_subdirectory(event)
|
|
add_subdirectory(occupancy)
|
|
add_subdirectory(device)
|
|
add_subdirectory(printf)
|
|
add_subdirectory(texture)
|
|
add_subdirectory(surface)
|
|
add_subdirectory(streamperthread)
|
|
add_subdirectory(kernel)
|
|
add_subdirectory(multiThread)
|
|
add_subdirectory(compiler)
|
|
add_subdirectory(errorHandling)
|
|
add_subdirectory(cooperativeGrps)
|
|
add_subdirectory(context)
|
|
add_subdirectory(device_memory)
|
|
add_subdirectory(warp)
|
|
add_subdirectory(dynamicLoading)
|
|
add_subdirectory(c_compilation)
|
|
add_subdirectory(g++)
|
|
#add_subdirectory(gcc) # TODO link error TheRock build
|
|
add_subdirectory(module)
|
|
add_subdirectory(channelDescriptor)
|
|
add_subdirectory(executionControl)
|
|
add_subdirectory(vector_types)
|
|
add_subdirectory(complex)
|
|
add_subdirectory(p2p)
|
|
add_subdirectory(threadfence)
|
|
add_subdirectory(virtualMemoryManagement)
|
|
# TODO Rock build failures
|
|
if(UNIX)
|
|
add_subdirectory(atomics)
|
|
add_subdirectory(math)
|
|
# TODO compute build failures
|
|
add_subdirectory(deviceLib)
|
|
add_subdirectory(syncthreads)
|
|
endif()
|
|
if(HIP_PLATFORM STREQUAL "amd")
|
|
add_subdirectory(callback)
|
|
add_subdirectory(clock)
|
|
add_subdirectory(hip_specific)
|
|
# Vulkan interop APIs currently undefined for Nvidia
|
|
add_subdirectory(vulkan_interop)
|
|
add_subdirectory(gl_interop) # Disabled on NVIDIA due to defect - EXSWHTEC-246
|
|
endif()
|
|
add_subdirectory(synchronization)
|
|
add_subdirectory(launchBounds)
|
|
add_subdirectory(assertion)
|
|
add_subdirectory(library)
|