From 700f5a2f564aab697ef8ff1b26afd50c3e729ecb Mon Sep 17 00:00:00 2001 From: Arina Neshlyaeva Date: Thu, 8 Aug 2024 11:47:30 -0700 Subject: [PATCH] Use mcmodel=large for ISPC --- scripts/ispc-disp | 2 +- scripts/test_sets.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ispc-disp b/scripts/ispc-disp index aa1d279..ab6dad6 100755 --- a/scripts/ispc-disp +++ b/scripts/ispc-disp @@ -16,7 +16,7 @@ import sys ispc_replacements = [('-c', ''), ('-std=c++11', '')] -clang_replacements = [('-woff', '-w')] +clang_replacements = [('-woff', '-w'), ('--pic', '-fPIC'), ('--mcmodel=large', '-mcmodel=large')] targ_replacements = [('sse\d', 'westmere'), ('avx1', 'sandybridge'), ('avx2', 'haswell'), diff --git a/scripts/test_sets.txt b/scripts/test_sets.txt index b007da5..40bb5ec 100644 --- a/scripts/test_sets.txt +++ b/scripts/test_sets.txt @@ -44,7 +44,7 @@ ubsan_gcc | g++ | gcc | -fPIC -mcmodel=large -fs icc | icpc | icc | -fPIC -mcmodel=large -w | -x icx | icpx | icx | -fPIC -mcmodel=large -w -fopenmp-simd -mllvm -vec-threshold=0 | -march= dpcpp | clang++ | clang | -fsycl -w | -march= -ispc | ispc-proxy | ispc-proxy | -woff | --target= +ispc | ispc-proxy | ispc-proxy | -woff --pic --mcmodel=large | --target= Testing sets: # Set name - codename for testing set