Closed liuwa666 closed 8 years ago
@fuyingfuying I believe @shehzan10 has already this question on forums. Just in case you haven't seen that yet.
use_lib
in the build.conf
file informs the rust build script to use already built binaries while compiling the ArrayFire rust wrapper. When this option is being used, you wouldn't need to set any of the other options as the script will try to find required dependencies from standard installation paths. This standard path for ArrayFire binaries is $AF_PATH/lib
where AF_PATH
is where you have installed ArrayFire.@9prady9 @shehzan10 thanks for your help, i try it and reply you later
@9prady9 @shehzan10 thank you, I just don't add /usr/local/cuda/lib64 to the LD_LIBRARY_PATH, now it works
Hi, firstly, thanks for your great project. I love rust and arrayfire. I'm a newer to arrayfire. I've installed the latest official cuda 7.5 installer and the latest official arrayfire installers( linux v3.3.1 64-bit) under my ubuntu 15.10. And I use the default configuration follow the official doc. But When I successfully build the arrayfire-rust lib and try to run the "unified" example in the ./examples folder. It shows me i only have cpu and opencl backends. CUDA backend can not be found.
So my question is : _# how to config to let this wrapper to support cuda in my computer. _ By the way, the official cpp examples can be built successfully using Cuda.
Another question is how to modify the build.conf file to build arrayfire submodule available in the rust wrapper. When I git clone the source from github. The build.conf file looks like: How can I config these options: "glew_static": "OFF", "freeimage_type": "DYNAMIC", "cpu_fft_type": "FFTW", "cpu_blas_type": "LAPACKE", "cpu_lapack_type": "LAPACKE",
By the way, I check the path of cuda libs, "cuda_sdk" option seems correct. So, what's the problem with my config.