'THPFloatTensor' was not declared in this scope

I compliled pytorch from github, and the version was ‘0.5.0a0+06d5dd0’.

It succeed use ‘THCPFloatTensor_New’ for change ‘THCudaTensor*’ to ‘PyObject*’ in version ‘0.3.0’. And same error when using the function ‘THPFloatTensor_New’. But it failed in the new version. How should I replace the function?And would you tell me is there any article or tutorial for using the c++ api? Thank you very much.