Eliminate use of assert in throw_on_error. Generate a trap instruction instead.
Eliminate use of assert in throw_on_error. Generate a trap instruction instead.

We may want to halt kernel execution a different way in the future, though.

dachziegel/thrust,Ricardo666666/thrust,zeryx/thrust,sdalton1/thrust,Ricardo666666/thrust,dachziegel/thrust,thrust/thrust,zhenglaizhang/thrust,raygit/thrust,marksantos/thrust,thvasilo/thrust,thrust/thrust,Ricardo666666/thrust,arnabgho/thrust,marksantos/thrust,GrimDerp/thrust,sarvex/thrust,raygit/thrust,jaredhoberock/thrust,jaredhoberock/thrust,arnabgho/thrust,thrust/thrust,thrust/thrust,jaredhoberock/thrust,zeryx/thrust,GrimDerp/thrust,sarvex/thrust,thvasilo/thrust,sarvex/thrust,zeryx/thrust,thrust/thrust,andrewcorrigan/thrust-multi-permutation-iterator,dachziegel/thrust,thvasilo/thrust,sdalton1/thrust,egaburov/thrust,jaredhoberock/thrust,GrimDerp/thrust,raygit/thrust,marksantos/thrust,xiongzhanblake/thrust,mohamed-ali/thrust,mohamed-ali/thrust,xiongzhanblake/thrust_src,egaburov/thrust,xiongzhanblake/thrust,egaburov/thrust,arnabgho/thrust,xiongzhanblake/thrust_src,andrewcorrigan/thrust-multi-permutation-iterator,sdalton1/thrust,zhenglaizhang/thrust,xiongzhanblake/thrust,andrewcorrigan/thrust-multi-permutation-iterator,xiongzhanblake/thrust_src,zhenglaizhang/thrust,mohamed-ali/thrust,jaredhoberock/thrust