std::cout<<__FILE__<<":"<<__LINE__<<" Warning: you are trying to use this buffer on device (example GPU). The most probable cause to produce this message is that you are trying to offload a data-structure on device (example: GPU), but the data-structure is not supposed to work on device"<<std::endl;