As thrust is used in the gpu code, CUDA c++14 is required. Besides fixed compiler warnings in Parameter.cpp.