Yupei Qi

Results 233 comments of Yupei Qi

This is the [result](https://github.com/JuliaGPU/oneAPI.jl/blob/e874082c292297e6fda9b6cd3de157b20027a2db/lib/level-zero/libze.jl#L1229-L1274) of using `@ccall` with `format(..., YASSyle(), always_use_return=false)`: ``` @checked function zeCommandListAppendMemoryCopy(hCommandList, dstptr, srcptr, size, hSignalEvent, numWaitEvents, phWaitEvents) @ccall libze_loader.zeCommandListAppendMemoryCopy(hCommandList::ze_command_list_handle_t, dstptr::PtrOrZePtr{Cvoid}, srcptr::PtrOrZePtr{Cvoid}, size::Csize_t, hSignalEvent::ze_event_handle_t, numWaitEvents::UInt32, phWaitEvents::Ptr{ze_event_handle_t})::ze_result_t end...

I'm thinking of doing something like this: ``` julia> function foo_callback(x::Csize_t)::Cint __impl_foo_callback(x) end foo_callback (generic function with 1 method) julia> cb = @cfunction(foo_callback, Cint, (Csize_t,)) # this should be generated...

Rewriting those scripts(e.g. [this one](https://github.com/JuliaGeo/GDAL.jl/blob/master/gen/wrap.jl#L187-L202)) to use Clang.jl#master's latest `Clang.Generators` API: https://github.com/JuliaInterop/Clang.jl#quick-start.

@melonedo thanks for the hard work! When upgrading those downstream packages, it would be great if all of the pain points can be ameliorated at the Clang.jl's side. For example,...

Better to rebuild the package upon the latest Clang.jl#master and use cross-platform support for loading those system headers. There might be compatibility issues between the stdlibs used in Julia and...

@notinaboat I've been thinking of making a Julia package like [rust's libc](https://github.com/rust-lang/libc) to provide similar functionalities in your package, which doesn't need libclang as a runtime dependency. But I don't...

Yeah. Clang is a full-featured compiler library with which you can do what a compiler can do, for example, implementing a C++ interpreter. https://github.com/JuliaInterop/Cxx.jl is another example.

It could happen when something goes wrong during the download&unzip phase. Maybe we should validate the artifacts before throwing this error.

The CI failure on macOS seems to be unrelated.