blob: 14cf6aebde5e4ed68170eb29535860f5662455d4 [file] [log] [blame]
# 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
#
# OLD: $HS_GEN -v -a "glsl" -D HS_NVIDIA_SM35 -t 2 -w 32 -r 32 -s 49152 -S 65536 -b 16 -m 1 -M 1 -f 1 -F 1 -c 1 -C 1 -z
# NEW: $HS_GEN -v -a "glsl" -D HS_NVIDIA_SM35 -t 2 -w 32 -r 8 -s 32768 -S 32768 -b 16 -m 1 -M 1 -p 1 -P 1 -f 0 -F 0 -c 0 -C 0 -z
#
hotsort_target("hotsort") {
hotsort_target_name = "hs_nvidia_sm35_u64"
vendor = "nvidia"
type_dwords = 2
warp_lanes = 32
thread_regs = 8
smem_bs = 32768
smem_bc = 32768
warps_per_group = 16
warps_min = 1
warps_mod = 1
merge_flip_warps = 1
merge_half_warps = 1
merge_flip_lo = 0
merge_flip_hi = 0
merge_half_lo = 0
merge_half_hi = 0
glsl_bindings = "1,0,1,0"
autotune = true
}