Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Faiss
Commits
57cb8405
Commit
57cb8405
authored
Sep 29, 2022
by
Your Name
Browse files
faiss ok for st
parent
f1fdd4d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
compile.sh
compile.sh
+5
-0
test_gpu.sh
test_gpu.sh
+8
-2
No files found.
compile.sh
View file @
57cb8405
source
/opt/dtk-22.04.2/env.sh
source
/opt/dtk-22.04.2/env.sh
cd
/opt/dtk-22.04.2/.hip/
./remove_origin.sh
cd
-
mkdir
build
-p
mkdir
build
-p
cd
build
cd
build
rm
hc_
*
-f
rm
hc_
*
-f
...
...
test_gpu.sh
View file @
57cb8405
source
/opt/dtk-22.04.2/env.sh
source
/opt/dtk-22.04.2/env.sh
cd
/opt/dtk-22.04.2/.hip/
./replace_origin.sh
cd
-
cd
build
;
cd
build
;
export
CPLUS_INCLUDE_PATH
=
${
ROCM_PATH
}
/include:
${
ROCM_PATH
}
:/opencl/include
export
CPLUS_INCLUDE_PATH
=
${
ROCM_PATH
}
/include:
${
ROCM_PATH
}
:/opencl/include
export
LD_LIBRARY_PATH
=
/public/software/compiler/intel-compiler-2017.5.239/mkl/lib/intel64_lin/:
$LD_LIBRARY_PATH
export
LD_LIBRARY_PATH
=
/public/software/compiler/intel-compiler-2017.5.239/mkl/lib/intel64_lin/:
$LD_LIBRARY_PATH
...
@@ -8,12 +14,12 @@ export LD_LIBRARY_PATH=${ROCM_PATH}/hipblas/lib/:$LD_LIBRARY_PATH
...
@@ -8,12 +14,12 @@ export LD_LIBRARY_PATH=${ROCM_PATH}/hipblas/lib/:$LD_LIBRARY_PATH
export
LD_LIBRARY_PATH
=
${
ROCM_PATH
}
/llvm/lib:
$LD_LIBRARY_PATH
export
LD_LIBRARY_PATH
=
${
ROCM_PATH
}
/llvm/lib:
$LD_LIBRARY_PATH
export
BUILD_DIR
=
`
pwd
`
export
BUILD_DIR
=
`
pwd
`
export
LD_LIBRARY_PATH
=
${
BUILD_DIR
}
/faiss/gpu/test/:
${
BUILD_DIR
}
faiss/:
${
BUILD_DIR
}
/lib/:
$LD_LIBRARY_PATH
export
LD_LIBRARY_PATH
=
${
BUILD_DIR
}
/faiss/gpu/test/:
${
BUILD_DIR
}
/
faiss/:
${
BUILD_DIR
}
/lib/:
$LD_LIBRARY_PATH
#export HIP_KERNEL_PRINTF=1
#export HIP_KERNEL_PRINTF=1
#make -j95 VERBOSE=1
#make -j95 VERBOSE=1
export
HIP_VISIBLE_DEVICES
=
3
export
HIP_VISIBLE_DEVICES
=
3
export
MKL_DEBUG_CPU_TYPE
=
5
#
export MKL_DEBUG_CPU_TYPE=5
#export HIP_LAUNCH_BLOCKING=1
#export HIP_LAUNCH_BLOCKING=1
#export HIP_LOG_LEVEL=7
#export HIP_LOG_LEVEL=7
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment