Skip to content

[BUG]-ocl_af_app.rs crashes everytime #282

Closed
@nodeSpace

Description

@nodeSpace

Reproducible Code and/or Steps

Running the example here: https://github.com/arrayfire/arrayfire-rust/blob/master/opencl-interop/examples/ocl_af_app.rs is crashing at this line: let ptr = af_buffer.device_ptr(); with the error:

(exit code: 0xc000041d)

Process finished with exit code -1073740771 (0xC000041D)

wierdly, if I spawn a new thread and run it in that and also if I run it directly from 'fn main()' (rather then embedded in the ui of my application), it gives this error instead:

(exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)

Process finished with exit code -1073741819 (0xC0000005)

This has happened every time I've ran the full example code from ocl_af_app.rs

System Information

The af::info() prints out:

ArrayFire v3.8.0 (OpenCL, 64-bit Windows, build d99887a)
-0- NVIDIA: GeForce GTX 1060 3GB, 3072 MB
[1] NVIDIA: GeForce GTX 1060 3GB, 3072 MB

Driver version is: 27.21.14.5671
Any idea what could be causing this issue?

Checklist

  • [x ] Using the latest available ArrayFire release

  • [x ] GPU drivers are up to date

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions