Skip to content

Commit

Permalink
Skip getCurrentCUDABlasLtHandle
Browse files Browse the repository at this point in the history
  • Loading branch information
HGuillemet committed May 4, 2024
1 parent 04067c4 commit db813d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public class torch_cuda extends org.bytedeco.pytorch.presets.torch_cuda {
@Namespace("at::cuda") public static native @Cast("cusparseHandle_t") Pointer getCurrentCUDASparseHandle();
@Namespace("at::cuda") public static native @Cast("cublasHandle_t") Pointer getCurrentCUDABlasHandle();
// #if (!defined(USE_ROCM) && !defined(_MSC_VER)) || (defined(USE_ROCM) && ROCM_VERSION >= 50700)
@Namespace("at::cuda") public static native @Cast("cublasLtHandle_t") Pointer getCurrentCUDABlasLtHandle();

// #endif

@Namespace("at::cuda") public static native void clearCublasWorkspaces();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,5 +208,10 @@ public void map(InfoMap infoMap) {
;

infoMap.put(new Info("USE_CUDNN_RNN_V8_API").define()); // Using CuDNN 8.9.7 or more recent

//// Different C++ API between platforms
infoMap
.put(new Info("at::cuda::getCurrentCUDABlasLtHandle").skip()) // No cublas lt with Microsoft compiler
;
}
}

0 comments on commit db813d6

Please sign in to comment.