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

Add functionality to use single precision floating number #18

Open
hqwang815 opened this issue Jan 31, 2024 · 1 comment
Open

Add functionality to use single precision floating number #18

hqwang815 opened this issue Jan 31, 2024 · 1 comment

Comments

@hqwang815
Copy link
Collaborator

Adding a function to convert all numpy array and constant floating numbers to single precision

@apalha
Copy link
Collaborator

apalha commented Jan 31, 2024

I just saw this. You want it to run on GPUs, right? I propose adding an option flag either in the class AcousticSimulation or a module wide variable the user can set. Once this is set all arrays are of a specific type.

I was having difficulties with this, but I think we can just add a variable in the module and whenever we create an array we use the array type.

We can discuss this today also.

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