(extra_include_paths: List[str], with_cuda: bool, with_cudnn: bool)
| 410 | |
| 411 | |
| 412 | def _setup_includes(extra_include_paths: List[str], with_cuda: bool, with_cudnn: bool): |
| 413 | user_includes = [os.path.abspath(path) for path in extra_include_paths] |
| 414 | system_includes = _setup_sys_includes(with_cuda, with_cudnn) |
| 415 | if IS_WINDOWS: |
| 416 | user_includes += system_includes |
| 417 | system_includes.clear() |
| 418 | return user_includes, system_includes |
| 419 | |
| 420 | |
| 421 | def _setup_common_cflags(user_includes: List[str], system_includes: List[str]): |
no test coverage detected