Add throwing an exception here
Closed this issue · 1 comments
Kuyantsev-VP commented
If there were some problems during compiling the kernel source (we fall into the initialize_ocl in line 37), no ocl_solvers would be created, but execution would be continued. As a result, we would fall into make_partition and get division by zero in line 90 (in sph_model.hpp).
x_engine/inc/solver_container.hpp
Line 41 in 62e8a74
skhayrulin commented
Good catch I've fixed it in last commit