camera_sim
camera_sim copied to clipboard
Why the file '_ext' is not exist?
The code of from ._ext import operators as ops occurs a error that no module named 'gapps._ext'. Before I test the codes, I have installed the llvm, clang and compiled the halide correctly, in which, the source codes of Halide is download from the github page of Halide, I don't know whether it is right. Furthermore, in the stage of cd gapps make, the error of makefile(2) : fatal error U1034: syntax error : separator missing occurs, it's so doubtful.
Looking forward to your reply!
This would indicate failure to compile gapps. Could you show me the full error message? What is your LLVM config version, clang version, CUDA version, and Ubuntu version?
The errors yesterday I have addressed by analyzing the source code of Makefile. However, there are still some errors occurring I could not resolve. During the compilation of gapps, the Error ptx not enable for this build of Halide occurs and the compilation was stopped, where native_demosaick_forward, native_demosaick_backward have been compiled ok, the error is occurred at the stage of compilation for cuda code.
The new error occurs, ptxas /tmp/tmpxft_00000908_00000000-6_bilateral_slice.cu.ptx, line 236; error : Call has wrong number of parameters, I think it will be compiled ok if the error is addressed.
I checked, and I could not find any missing files. The Halide we are using is an older version, and it will take some work to match the current official version, which will take time.
The ptx errors do look like CUDA-related. Make sure you actually use CUDA 8 (in case you have multiple versions installed).
I also find that using absolute path for HALIDE_DIR is helpful.
Compiling Halide and Gapps is difficult, we have yet to test the compilation on more systems. It did took me a few days to get it the first time, but you will only have to do it once.