summaryrefslogtreecommitdiffstats
path: root/Tests/HIP/CompileFlags/CMakeLists.txt
blob: c808313870a8587dbbe7a41f98f69ef774be7e4c (plain)
1
2
3
4
5
6
7
8
cmake_minimum_required(VERSION 3.18)
project(CompileFlags HIP)

add_executable(HIPOnlyCompileFlags main.hip)

set_property(TARGET HIPOnlyCompileFlags PROPERTY HIP_ARCHITECTURES gfx803)

target_compile_options(HIPOnlyCompileFlags PRIVATE -DALWAYS_DEFINE)