Implement __hash__ and __eq__ for cuda.core classes
#1739
backport.yml
on: pull_request_target
Backport pull request
__hash__ and __eq__ for cuda.core classes
#1739