Skip to content

Commit

Permalink
Add cupti from cuda presets
Browse files Browse the repository at this point in the history
  • Loading branch information
HGuillemet committed Aug 21, 2024
1 parent ac9e231 commit e897fef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ public void init(ClassProperties properties) {
: lib.equals("nvrtc") ? "64_120_0"
: lib.equals("nvrtc-builtins") ? "64_126"
: lib.equals("nvJitLink") ? "_120_0"
: lib.equals("cupti") ? "64_2024.3.0"
: "64_12";
} else {
continue; // no CUDA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
package org.bytedeco.pytorch.presets;

import org.bytedeco.cuda.presets.cudnn;
import org.bytedeco.cuda.presets.cupti;
import org.bytedeco.cuda.presets.cusolver;
import org.bytedeco.cuda.presets.cusparse;
import org.bytedeco.javacpp.ClassProperties;
Expand All @@ -36,7 +37,7 @@
* @author Hervé Guillemet
*/
@Properties(
inherit = { torch.class, cudnn.class, cusparse.class, cusolver.class },
inherit = { torch.class, cudnn.class, cusparse.class, cusolver.class, cupti.class },
value = {
@Platform(
extension = "-gpu",
Expand Down

0 comments on commit e897fef

Please sign in to comment.