“73e328e57817db7f6a82c171206528cd4cfd1e66”上不存在“develop/doc/v1_api_tutorials/gan/index_en.html”
Created by: luotao1
In general, it's recommended to use PADDLE_ENFORCE
for error_mesage. However, in CUDA device kernel or HOSTDEVICE function, we must use PADDLE_ASSERT
now.
This PR remove the unused assert.h
, and is the next of #19285.
TODO:
- remove
PADDLE_ASSERT
, remain onlyPADDLE_ASSERT_MSG
, i.e, we should write error message in CUDA device kernel. - unify
PADDLE_ASSERT_MSG
intoPADDLE_ENFORCE
to meet the demands of CUDA device kernel.