Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA Kernel Data type #10

Open
alabamagan opened this issue Sep 6, 2017 · 3 comments
Open

CUDA Kernel Data type #10

alabamagan opened this issue Sep 6, 2017 · 3 comments

Comments

@alabamagan
Copy link

Is there any reason why only 'float' and 'double' are supported?

Will there be potential bugs to modify utils.Dtype to support char and int?

@szagoruyko
Copy link
Owner

int would probably be okay, for char you would need to change accumulation type as there would likely be overflows

@alabamagan
Copy link
Author

You mean the gradient accumulation type?

@szagoruyko
Copy link
Owner

there is accumulation in all ops, forward too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants