Open
Description
Trying to create a java binding but I am unable to get a graphics adapter.
Caused by:
No suitable graphics adapter found; noop support not compiled in, vulkan support not compiled in, metal [unknown reason], dx12 support not compiled in, gl support not compiled in, webgpu support not compiled in
at org.webgpu.impl.InstanceImpl.lambda$requestAdapter$0(InstanceImpl.java:73)
at org.webgpu.extract.webgpu_h.wgpuInstanceRequestAdapter(webgpu_h.java:10281)
at org.webgpu.impl.InstanceImpl.requestAdapter(InstanceImpl.java:86)
... 4 more
There should be a way to get the right features to build this without making a shim.
Maven configuration for gpu-native: https://github.com/jalexcole/webgpu-java/blob/main/wgpu/pom.xml
<plugin>
<groupId>org.questdb</groupId>
<artifactId>rust-maven-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>rust-build-aarch64-apple-darwin</id>
<phase>compile</phase>
<goals>
<goal>build</goal>
</goals>
<configuration>
<path>${project.basedir}/wgpu-native</path>
<release>false</release>
<!-- <target>aarch64-apple-darwin</target> -->
<!-- <verbosity>-v</verbosity> -->
<copyWithPlatformDir>true</copyWithPlatformDir>
<copyTo>${project.build.directory}/native/</copyTo>
<features>
<feature>metal</feature>
</features>
</configuration>
</execution>
</executions>
</plugin>
Metadata
Metadata
Assignees
Labels
No labels