Skip to content

Commit

Permalink
global var
Browse files Browse the repository at this point in the history
  • Loading branch information
friguzzi committed Dec 31, 2023
1 parent 54a1ac2 commit 98ea853
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prolog/liftcover.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
xp=None

def init():
global xp
try:
import cupy as cp
cp.cuda.runtime.getDeviceCount()
Expand Down

0 comments on commit 98ea853

Please sign in to comment.