object-oriented programming in python (pycuda)

How create class in python (using pycuda) with several function on gpu and cpu?
I am beginer in cuda technology. Can give me some recommendation or give me link on this topic.
It’s better do everything well at once.