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

[Example] Is gpuArray-single available as a data cast? #546

Open
diegozanon opened this issue Jan 30, 2025 · 0 comments
Open

[Example] Is gpuArray-single available as a data cast? #546

diegozanon opened this issue Jan 30, 2025 · 0 comments
Labels
example Request an example of principle of functionality

Comments

@diegozanon
Copy link

Describe the example
The MATLAB doc says in this example that it you would give a 10x performance improvement if data is cast using "gpuArray-single", which uses MATLAB Parallel Computing Toolbox.

Is "gpuArray-single" supported and offers any improvement in this Python port?

option_factory() (from simulation_options) says that "gpuArray-single" is a valid data_cast, but simulation fails because post_init() (also from simulation_options) doesn't accept "gpuArray-single" as a valid parameter.

If it is supported, it would be nice to modify the example to show how.

Sources
Source: this example
Target: this example

Additional context
None. Just thanks for your hard-work!

@diegozanon diegozanon added the example Request an example of principle of functionality label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example Request an example of principle of functionality
Projects
None yet
Development

No branches or pull requests

1 participant