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.

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