/* * Copyright 2008-2013 NVIDIA Corporation * Modifications Copyright© 2025 Advanced Micro Devices, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include // need to suppress deprecation warnings for execute_with_allocator_and_dependencies inside type traits THRUST_SUPPRESS_DEPRECATED_PUSH #include #include #include #include #include #include "test_param_fixtures.hpp" #include "test_utils.hpp" #if !_THRUST_HAS_DEVICE_SYSTEM_STD # include #endif template struct test_allocator_t {}; test_allocator_t test_allocator = test_allocator_t(); template struct test_dependency_t {}; template test_dependency_t test_dependency() { return {}; } template class CRTPBase> struct policy_info { using policy = Policy; template