-
Notifications
You must be signed in to change notification settings - Fork 11
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
error while running example.py #5
Comments
Hi, import pyopencl as cl
platforms = cl.get_platforms()
for platform in platforms:
print(f"platform: {platform}")
devices = platform.get_devices()
gpu_devices = platform.get_devices(device_type=cl.device_type.GPU)
cpu_devices = platform.get_devices(device_type=cl.device_type.CPU)
print(f"Devices:\nAll: {devices}\nGPU: {gpu_devices}\nCPU {cpu_devices}\n {'='*16}") |
Hi Amir, I also met an error while creating the wave object with
the error message is
I have running the code
and get the platform and Devices information
|
@zj15001 |
Hi Amir,
I have set ’ inpa["device"] = 0‘, but I have received a new error:
|
@petrolworker wave.WavePropagator(inpa, src, rec_loc, model_shape, components=seisout, chpr=20, set_env_variable=False) The important argument is |
Hi Amir,
As your suggestion for adding argument "set_env_variable=False" in wave.WavePropagator, then I got this error
The text was updated successfully, but these errors were encountered: