File tree Expand file tree Collapse file tree 5 files changed +6
-3
lines changed Expand file tree Collapse file tree 5 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 8
8
<rules >
9
9
<platformRule OSFamily =" Linux" kit =" CUDA11.2" kitRange =" OLDER" runOnThisPlatform =" false" />
10
10
<platformRule OSFamily =" Windows" kit =" CUDA11.2" kitRange =" OLDER" runOnThisPlatform =" false" />
11
+ <optlevelRule GPUFeature =" NOT double" excludeOptlevelNameString =" gpu" />
11
12
</rules >
12
13
</test >
Original file line number Diff line number Diff line change 9
9
<optlevelRule excludeOptlevelNameString =" cpu" />
10
10
<platformRule OSFamily =" Linux" kit =" CUDA10.2" kitRange =" OLDER" runOnThisPlatform =" false" />
11
11
<platformRule OSFamily =" Windows" kit =" CUDA10.2" kitRange =" OLDER" runOnThisPlatform =" false" />
12
+ <optlevelRule GPUFeature =" NOT double" excludeOptlevelNameString =" gpu" />
12
13
</rules >
13
14
</test >
Original file line number Diff line number Diff line change 53
53
<test testName =" math-direct" configFile =" config/TEMPLATE_math.xml" />
54
54
<test testName =" math-drcp" configFile =" config/TEMPLATE_math_drcp.xml" splitGroup =" double" />
55
55
<test testName =" math-emu" configFile =" config/TEMPLATE_math.xml" />
56
- <test testName =" math-exec" configFile =" config/TEMPLATE_math_exec.xml" />
56
+ <test testName =" math-exec" configFile =" config/TEMPLATE_math_exec.xml" splitGroup = " double " />
57
57
<test testName =" math-funnelshift" configFile =" config/TEMPLATE_math_funnelshift.xml" />
58
- <test testName =" math-habs" configFile =" config/TEMPLATE_math_habs.xml" />
58
+ <test testName =" math-habs" configFile =" config/TEMPLATE_math_habs.xml" splitGroup = " double " />
59
59
<test testName =" math-helper" configFile =" config/TEMPLATE_math.xml" />
60
60
<test testName =" math-saturate" configFile =" config/TEMPLATE_math.xml" />
61
61
<test testName =" cusparse" configFile =" config/TEMPLATE_cusparse.xml" />
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ def run_test():
125
125
if test_config .current_test not in exec_tests :
126
126
return True
127
127
os .environ ['SYCL_DEVICE_FILTER' ] = test_config .device_filter
128
+ os .environ ['CL_CONFIG_CPU_EXPERIMENTAL_FP16' ]= "1"
128
129
if test_config .current_test == 'ccl' :
129
130
return call_subprocess ('mpirun -n 2 ' + os .path .join (os .path .curdir , test_config .current_test + '.run ' ))
130
131
return run_binary_with_args ()
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ def run_test():
101
101
args .append ("./module.so" )
102
102
if test_config .current_test == "kernel_function_win" :
103
103
args .append ("./module.dll" )
104
-
104
+ os . environ [ 'CL_CONFIG_CPU_EXPERIMENTAL_FP16' ] = "1"
105
105
ret = run_binary_with_args (args )
106
106
if test_config .current_test == "async_exception" and "Caught asynchronous SYCL exception" in test_config .command_output and "test_dpct_async_handler" in test_config .command_output :
107
107
return True
You can’t perform that action at this time.
0 commit comments