Skip to content

Commit

Permalink
Updated Jupyter Notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Salzmann committed Mar 24, 2024
1 parent cc94109 commit 32e5439
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
3 changes: 2 additions & 1 deletion examples/fish_turbulent_flow/Fish_Turbulent_Flow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@
],
"source": [
"# @title\n",
"!pip install torch scikit-build cmake ninja\n",
"!pip install torch --index-url https://download.pytorch.org/whl/cpu\n",
"!pip install scikit-build cmake ninja\n",
"!pip install git+https://github.com/Tim-Salzmann/l4casadi --no-build-isolation"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
"outputs": [],
"source": [
"# @title\n",
"!pip install torch scikit-build cmake ninja\n",
"!pip install torch --index-url https://download.pytorch.org/whl/cpu\n",
"!pip install scikit-build cmake ninja\n",
"!pip install git+https://github.com/Tim-Salzmann/l4casadi --no-build-isolation"
]
},
Expand Down
8 changes: 3 additions & 5 deletions libl4casadi/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(L4CasADi)

#if(NOT DEFINED ENV{DISABLE_CUDA})
# # Load CUDA if it is installed
# find_package(CUDAToolkit)
# find_package(CUDA)
#endif ()
# Load CUDA if it is installed
find_package(CUDAToolkit)
find_package(CUDA)

if (WIN32)
set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
Expand Down

0 comments on commit 32e5439

Please sign in to comment.