make cuda part compile