Skip to content

Commit

Permalink
cuda: Set CUDA runtime version in preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
tmmsartor committed Jul 16, 2024
1 parent 838660a commit 6adc0e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion LocalPreferences.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[CUDA_Runtime_jll]
__clear__ = ["local", "version"]
__clear__ = ["local"]
version = "12.5"
2 changes: 0 additions & 2 deletions src/MadNLP_C.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ using MadNLPGPU
using CUDA
using UnsafePointers

CUDA.set_runtime_version!()

export MadnlpCSolver, MadnlpCInterface, MadnlpCNumericIn, MadnlpCNumericOut, madnlp_c_get_stats, madnlp_c_startup, madnlp_c_shutdown, madnlp_c_create, madnlp_c_option_type, madnlp_c_set_option_double, madnlp_c_set_option_bool, madnlp_c_set_option_int, madnlp_c_set_option_string, madnlp_c_input, madnlp_c_output, madnlp_c_solve, madnlp_c_destroy

struct CPUBuffers
Expand Down

0 comments on commit 6adc0e2

Please sign in to comment.