onnxruntime/onnxruntime/test
Yi Zhang 8e8b62b8b5
Build CUDA and DML together (#22602)
### Description
Now, we need to build cuda and dml in one package.
But CUDA EP and DML EP can't run in one process.
It will throw the exception of `the GPU device instance has been
suspended`
So the issue is CUDA EP and DML EP coexist in compile time but can't
exist in run time.

This PR is to split cuda ep test and dml ep test in all unit tests.
The solution is to use 2 environment variable, NO_CUDA_TEST and
NO_DML_TEST, in CI.

For example, if NO_CUDA_TEST is set, the DefaultCudaExecutionProvider
will be nullptr, and the test will not run with CUDA EP.
In debugging, the CUDAExecutionProvider will not be called. 
I think, as long as cuda functions, like cudaSetDevice, are not called,
DML EP tests can pass.

Disabled java test of testDIrectML because it doesn't work now even
without CUDA EP.
2024-10-31 15:51:13 -07:00
..
common Build CUDA and DML together (#22602) 2024-10-31 15:51:13 -07:00
contrib_ops Build CUDA and DML together (#22602) 2024-10-31 15:51:13 -07:00
cuda_host Enable CUDA EP unit testing on Windows (#20039) 2024-03-27 13:32:36 -07:00
custom_op_registration
debug_node_inputs_outputs Delete path.h (#21211) 2024-07-04 15:54:13 +08:00
flatbuffers Enablement of onnxruntime for AIX and fixing issues related to big-endian platform. (#21133) 2024-07-17 12:37:06 -07:00
framework Build CUDA and DML together (#22602) 2024-10-31 15:51:13 -07:00
fuzzing [Fuzzer] Add two new ORT libfuzzer (Linux clang support for now) (#22055) 2024-09-12 11:50:34 -07:00
global_thread_pools Remove references to the outdated CUDA EP factory method (#21549) 2024-07-29 21:59:16 -07:00
ir Fix typos according to reviewdog report. (#21335) 2024-07-22 13:37:32 -07:00
logging_apis Specify iOS simulator runtime version (#22474) 2024-10-18 09:26:06 -07:00
lora Build CUDA and DML together (#22602) 2024-10-31 15:51:13 -07:00
mlas remove neural-speed (#22236) 2024-10-01 09:50:44 -07:00
onnx Enable QLinearMatMul for opset21 (#22488) 2024-10-22 14:33:36 -07:00
opaque_api
optimizer remove neural-speed (#22236) 2024-10-01 09:50:44 -07:00
perftest Add implementation of WebGPU EP (#22591) 2024-10-29 18:29:40 -07:00
platform Remove nsync (#20413) 2024-10-21 15:32:14 -07:00
proto
providers Build CUDA and DML together (#22602) 2024-10-31 15:51:13 -07:00
python Add implementation of WebGPU EP (#22591) 2024-10-29 18:29:40 -07:00
qnn_ctx_gen [QNN EP] Add provider option to offload graph I/O quantization/dequantization to the CPU EP (#22436) 2024-10-16 15:00:53 -07:00
quantization Disable CPU EP's allocator's arena when address sanitizer is enabled (#19485) 2024-02-12 09:39:49 -08:00
shared_lib Enable Ort objects to be stored in a resizable std::vector (#22608) 2024-10-29 09:59:59 -07:00
testdata Add implementation of WebGPU EP (#22591) 2024-10-29 18:29:40 -07:00
unittest_main Specify iOS simulator runtime version (#22474) 2024-10-18 09:26:06 -07:00
util Build CUDA and DML together (#22602) 2024-10-31 15:51:13 -07:00
wasm Bump body-parser from 1.20.1 to 1.20.3 in /onnxruntime/test/wasm (#22106) 2024-09-17 22:59:40 +00:00
webgpu/external_dawn Add implementation of WebGPU EP (#22591) 2024-10-29 18:29:40 -07:00
win_getopt
xctest Specify iOS simulator runtime version (#22474) 2024-10-18 09:26:06 -07:00
run_benchmark.py Add onnxruntime/test/run_benchmark.py helper script. (#19234) 2024-04-05 07:02:01 -07:00
run_benchmark.readme.md Add onnxruntime/test/run_benchmark.py helper script. (#19234) 2024-04-05 07:02:01 -07:00