Paddle cpu下可以正常运行,gpu下报错,

pepwfjgg  于 2021-11-30  发布在  Java
关注(0)|答案(0)|浏览(184)

代码唯一的区别是place = fluid.CPUPlace()改成了place = fluid.CUDAPlace(0)
在执行exe.run(test_program,xxx)的时候,报错:
temporary_buffer::allocate: get_temporary_buffer failed
terminate called after throwing an instance of 'thrust::system::system_error'
what(): device free failed: unspecified launch failure
Aborted

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题