File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ target_sources(${targetName}
407407 BASE_DIRS ${CMAKE_CURRENT_BINARY_DIR} )
408408
409409make_directory (${CMAKE_CURRENT_BINARY_DIR} /genGPUArch )
410- set (GPU_CONST_PARAM_ARCHITECTUES AMPERE TURING VEGA MI2xx)
410+ set (GPU_CONST_PARAM_ARCHITECTUES AMPERE TURING VEGA MI2xx W7900 )
411411set (GPU_CONST_PARAM_FILES "" )
412412foreach (GPU_ARCH ${GPU_CONST_PARAM_ARCHITECTUES} )
413413 set (PARAMFILE ${CMAKE_CURRENT_BINARY_DIR} /genGPUArch/gpu_const_param_${GPU_ARCH} .par)
Original file line number Diff line number Diff line change 8686 #define GPUCA_PAR_MERGER_INTERPOLATION_ERROR_TYPE half
8787 #define GPUCA_PAR_COMP_GATHER_KERNEL 4
8888 #define GPUCA_PAR_COMP_GATHER_MODE 3
89+ #elif defined(GPUCA_GPUTYPE_W7900 )
90+ #define GPUCA_WARP_SIZE 32
8991 #elif defined(GPUCA_GPUTYPE_VEGA )
9092 #define GPUCA_WARP_SIZE 64
9193 #define GPUCA_THREAD_COUNT_DEFAULT 256
Original file line number Diff line number Diff line change @@ -62,6 +62,9 @@ function(set_target_hip_arch target)
6262 elseif (HIP_AMDGPUTARGET AND HIP_AMDGPUTARGET MATCHES "gfx90a" )
6363 message (STATUS "Using optimized HIP settings for MI210 GPU" )
6464 target_compile_definitions (${target} PUBLIC GPUCA_GPUTYPE_MI2xx )
65+ elseif (HIP_AMDGPUTARGET AND HIP_AMDGPUTARGET MATCHES "gfx1100" )
66+ message (STATUS "Using optimized HIP settings for W7900 GPU" )
67+ target_compile_definitions (${target} PUBLIC GPUCA_GPUTYPE_W7900 )
6568 else ()
6669 target_compile_definitions (${target} PUBLIC GPUCA_GPUTYPE_VEGA )
6770 endif ()
You can’t perform that action at this time.
0 commit comments