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
f1fdd4d4
Commit
f1fdd4d4
authored
Sep 22, 2022
by
huchen
Browse files
modify compiler.sh for special path
parent
508730cf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
114 additions
and
2 deletions
+114
-2
.nfs0000000003d5826d000005b4
.nfs0000000003d5826d000005b4
+0
-0
compile.sh
compile.sh
+3
-2
faiss/1
faiss/1
+111
-0
No files found.
.nfs0000000003d5826d000005b4
deleted
100644 → 0
View file @
508730cf
File deleted
compile.sh
View file @
f1fdd4d4
...
...
@@ -8,13 +8,14 @@ export CPLUS_INCLUDE_PATH=${ROCM_PATH}/hiprand/include/:${ROCM_PATH}/rocrand/inc
export
LD_LIBRARY_PATH
=
${
ROCM_PATH
}
/hipblas/lib/:
$LD_LIBRARY_PATH
export
LD_LIBRARY_PATH
=
${
ROCM_PATH
}
/llvm/lib:
$LD_LIBRARY_PATH
export
BUILD_DIR
=
`
pwd
`
#CXX=hipcc CC=hipcc cmake -DFAISS_ENABLE_GPU=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_MODULE_PATH="${ROCM_PATH}/hip/cmake/" -DMKL_LIBRARIES=/public/software/compiler/intel-compiler-2017.5.239/mkl/lib/intel64_lin/ ..
CXX
=
hipcc
CC
=
hipcc cmake
-DFAISS_ENABLE_GPU
=
ON
-DBUILD_SHARED_LIBS
=
ON
-DFAISS_OPT_LEVEL
=
avx
-DBUILD_TESTING
=
ON
-DCMAKE_BUILD_TYPE
=
RELEASE
-DCMAKE_MODULE_PATH
=
"
${
ROCM_PATH
}
/hip/cmake/"
-DMKL_LIBRARIES
=
/public/software/compiler/intel-compiler-2017.5.239/mkl/lib/intel64_lin/libmkl_rt.so ..
CXX
=
hipcc
CC
=
hipcc cmake
-DFAISS_ENABLE_GPU
=
ON
-DBUILD_SHARED_LIBS
=
ON
-DFAISS_OPT_LEVEL
=
avx
-DBUILD_TESTING
=
ON
-DCMAKE_BUILD_TYPE
=
RELEASE
-DCMAKE_MODULE_PATH
=
"
${
ROCM_PATH
}
/hip/cmake/"
-DCMAKE_INSTALL_PREFIX
=
${
BUILD_DIR
}
/install
-DMKL_LIBRARIES
=
/public/software/compiler/intel-compiler-2017.5.239/mkl/lib/intel64_lin/libmkl_rt.so ..
make
-j32
faiss
VERBOSE
=
1
>
hc_faiss.log 2>&1
make
-j32
swigfaiss
VERBOSE
=
1
>
hc_swigfaiss.log 2>&1
export
BUILD_DIR
=
`
pwd
`
export
LD_LIBRARY_PATH
=
${
BUILD_DIR
}
/faiss/gpu/test/:
${
BUILD_DIR
}
/faiss/:
${
BUILD_DIR
}
/lib/:
$LD_LIBRARY_PATH
make
-j32
install
VERBOSE
=
1
>
hc_install.log 2>&1
...
...
faiss/1
0 → 100644
View file @
f1fdd4d4
./IndexFlat.h
./IndexNNDescent.h
./IndexLattice.h
./IndexRefine.h
./IndexBinary.h
./IndexLSH.h
./clone_index.h
./IVFlib.h
./IndexBinaryHNSW.h
./IndexFlatCodes.h
./gpu/GpuIndexIVFPQ.h
./gpu/impl/RemapIndices.h
./gpu/impl/InterleavedCodes.h
./gpu/GpuIndex.h
./gpu/GpuResources.h
./gpu/GpuIndexFlat.h
./gpu/GpuIndexIVF.h
./gpu/test/TestUtils.h
./gpu/GpuCloner.h
./gpu/GpuDistance.h
./gpu/GpuIndicesOptions.h
./gpu/utils/StackDeviceMemory.h
./gpu/utils/DeviceUtils.h
./gpu/utils/Timer.h
./gpu/utils/StaticUtils.h
./gpu/StandardGpuResources.h
./gpu/GpuAutoTune.h
./gpu/GpuIcmEncoder.h
./gpu/GpuClonerOptions.h
./gpu/GpuIndexBinaryFlat.h
./gpu/GpuIndexIVFFlat.h
./gpu/GpuFaissAssert.h
./gpu/GpuIndexIVFScalarQuantizer.h
./gpu/perf/IndexWrapper.h
./gpu/perf/IndexWrapper-inl.h
./Index2Layer.h
./MatrixStats.h
./IndexNSG.h
./IndexPQFastScan.h
./impl/AdditiveQuantizer.h
./impl/PolysemousTraining.h
./impl/NSG.h
./impl/ResidualQuantizer.h
./impl/ResultHandler.h
./impl/ThreadedIndex-inl.h
./impl/platform_macros.h
./impl/HNSW.h
./impl/FaissAssert.h
./impl/simd_result_handlers.h
./impl/LocalSearchQuantizer.h
./impl/io_macros.h
./impl/ProductQuantizer-inl.h
./impl/pq4_fast_scan.h
./impl/ProductQuantizer.h
./impl/io.h
./impl/lattice_Zn.h
./impl/FaissException.h
./impl/ThreadedIndex.h
./impl/kmeans1d.h
./impl/ScalarQuantizer.h
./impl/AuxIndexStructures.h
./impl/NNDescent.h
./IndexAdditiveQuantizer.h
./invlists/DirectMap.h
./invlists/BlockInvertedLists.h
./invlists/InvertedListsIOHook.h
./invlists/OnDiskInvertedLists.h
./invlists/InvertedLists.h
./AutoTune.h
./VectorTransform.h
./index_factory.h
./IndexScalarQuantizer.h
./Clustering.h
./Index.h
./IndexIVFPQR.h
./IndexIVF.h
./MetaIndexes.h
./IndexBinaryHash.h
./IndexShards.h
./IndexPreTransform.h
./IndexReplicas.h
./index_io.h
./IndexBinaryFromFloat.h
./IndexIVFAdditiveQuantizer.h
./IndexHNSW.h
./IndexIVFFlat.h
./IndexBinaryIVF.h
./utils/utils.h
./utils/hamming.h
./utils/Heap.h
./utils/quantize_lut.h
./utils/AlignedTable.h
./utils/hamming-inl.h
./utils/simdlib_neon.h
./utils/extra_distances-inl.h
./utils/partitioning.h
./utils/ordered_key_value.h
./utils/distances.h
./utils/extra_distances.h
./utils/random.h
./utils/simdlib.h
./utils/simdlib_avx2.h
./utils/simdlib_emulated.h
./utils/WorkerThread.h
./IndexBinaryFlat.h
./IndexIVFPQ.h
./python/python_callbacks.h
./IndexPQ.h
./IndexIVFPQFastScan.h
./IndexIVFSpectralHash.h
./MetricType.h
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