-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67a28e6
commit 2f6b514
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
recipes/warp-lang/04-avoid_copying_thirdparty_libraries.patch
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 @@ | ||
diff --git a/warp/build.py b/warp/build.py | ||
--- a/warp/build.py | ||
+++ b/warp/build.py | ||
@@ -8,7 +8,7 @@ | ||
import os | ||
|
||
import warp.config | ||
-from warp.thirdparty import appdirs | ||
+import appdirs | ||
|
||
|
||
# builds cuda source to PTX or CUBIN using NVRTC (output type determined by output_path extension) | ||
diff --git a/warp/dlpack.py b/warp/dlpack.py | ||
--- a/warp/dlpack.py | ||
+++ b/warp/dlpack.py | ||
@@ -8,7 +8,7 @@ | ||
import warp | ||
import ctypes | ||
|
||
-from warp.thirdparty.dlpack import ( | ||
+from dlpack import ( | ||
DLManagedTensor, | ||
DLDevice, | ||
DLDeviceType, |
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