Closed FoodChain1028 closed 1 month ago
Can you update the mopro-cli and check your uniffi-bindgen
version?
I got diffs in mopro.swift
Can you update the mopro-cli and check your
uniffi-bindgen
version? I got diffs inmopro.swift
Hi @vivianjeng, my current uniffi-bindgen version is 0.25.3 and I updated mopro-cli now. Can you check again?
the mopro test
works for me. Thank you.
can you check your uniffi-bindgen --version
in the terminal?
it is still different.
the
mopro test
works for me. Thank you. can you check youruniffi-bindgen --version
in the terminal? it is still different.
uniffi-bindgen --version
uniffi-bindgen 0.25.3
mine is 0.25.3
Is the difference about the file
keyword in front of each statement?
private extension Data {
init(rustBuffer: RustBuffer) {
// TODO: This copies the buffer. Can we read directly from a
// Rust buffer?
self.init(bytes: rustBuffer.data!, count: Int(rustBuffer.len))
}
}
and
fileprivate extension Data {
init(rustBuffer: RustBuffer) {
// TODO: This copies the buffer. Can we read directly from a
// Rust buffer?
self.init(bytes: rustBuffer.data!, count: Int(rustBuffer.len))
}
}
@FoodChain1028 yes
mine is also 0.25.3
does it happen to you if you run mopro build --platforms ios
in the gpu-benchmark dir?
@vivianjeng
I checked with the binding file generated from mopro and found that the difference. And no, after I ran mopro build --platforms ios
, the result came out was the one in gpu-exploration-app
(without keyword file
).
The gpu exploration app is made using
mopro init
. This app explores the msm functions that we implements inmopro-core
and test in rust, and can be run on simulator and mobile.