-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cuda] Wire up basic creating devices, allocators, and buffers (#14011)
This commit ports over existing CUDA HAL driver code to enable creating devices, allocators, and buffers. It's mostly NFC, with just symbol renaming and turning various functionalities into unimplemented. With this commit, we are able to pick up CTS tests. Progress towards #13245
- Loading branch information
1 parent
967ab3b
commit c4e01e9
Showing
9 changed files
with
615 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright 2023 The IREE Authors | ||
# | ||
# Licensed under the Apache License v2.0 with LLVM Exceptions. | ||
# See https://llvm.org/LICENSE.txt for license information. | ||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
|
||
iree_hal_cts_test_suite( | ||
DRIVER_NAME | ||
cuda2 | ||
DRIVER_REGISTRATION_HDR | ||
"experimental/cuda2/registration/driver_module.h" | ||
DRIVER_REGISTRATION_FN | ||
"iree_hal_cuda2_driver_module_register" | ||
COMPILER_TARGET_BACKEND | ||
"cuda" | ||
EXECUTABLE_FORMAT | ||
"\"PTXE\"" | ||
DEPS | ||
iree::experimental::cuda2::registration | ||
INCLUDED_TESTS | ||
"allocator" | ||
"buffer_mapping" | ||
"driver" | ||
) |
Oops, something went wrong.