| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| _hotsort_targets_dir = "../../../../../../../../hotsort/platforms/vk/targets" |
| import("${_hotsort_targets_dir}/hotsort_target.gni") |
| |
| # |
| # configuration |
| # |
| # $HS_GEN -v -a "glsl" -D HS_AMD_GCN3 -t 2 -w 64 -r 8 -s 32768 -S 32768 -b 16 -m 1 -M 1 -f 1 -F 1 -c 1 -C 1 -z |
| # |
| |
| hotsort_target("hotsort") { |
| hotsort_target_name = "hs_amd_gcn3_u64" |
| vendor = "amd" |
| type_dwords = 2 |
| warp_lanes = 64 |
| thread_regs = 8 |
| smem_bs = 32768 |
| smem_bc = 32768 |
| warps_per_group = 16 |
| warps_min = 1 |
| warps_mod = 1 |
| merge_flip_lo = 1 |
| merge_flip_hi = 1 |
| merge_half_lo = 1 |
| merge_half_hi = 1 |
| glsl_bindings = "1,0,1,0" |
| autotune = true |
| } |