Fix a Win GPU reduced ops pipeline (#10202)

This commit is contained in:
Ye Wang 2022-01-06 09:46:34 -08:00 committed by GitHub
parent 4ab891999a
commit 08f512b25e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -744,6 +744,9 @@ TEST(CApiTest, RegisterCustomOpForCPUAndCUDA) {
//It has memory leak. The OrtCustomOpDomain created in custom_op_library.cc:RegisterCustomOps function was not freed
#if defined(__ANDROID__)
TEST(CApiTest, DISABLED_test_custom_op_library) {
//To accomodate a reduced op build pipeline
#elif defined(REDUCED_OPS_BUILD) && defined(USE_CUDA)
TEST(CApiTest, DISABLED_test_custom_op_library) {
#else
TEST(CApiTest, test_custom_op_library) {
#endif