Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita1d5a1f

Browse files
miketrumpisumar456
authored andcommitted
BF: check AF library paths for pkg vs source install
1 parent76d8a5b commita1d5a1f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎arrayfire/library.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,10 @@ def _setup():
517517
post='.'+_VER_MAJOR_PLACEHOLDER+'.dylib'
518518

519519
ifAF_SEARCH_PATHisNone:
520-
AF_SEARCH_PATH='/usr/local/'
520+
ifos.path.exists('/opt/arrayfire'):
521+
AF_SEARCH_PATH='/opt/arrayfire/'
522+
else:
523+
AF_SEARCH_PATH='/usr/local/'
521524

522525
ifCUDA_PATHisNone:
523526
CUDA_PATH='/usr/local/cuda/'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp