Skip to content

Conversation

kainino0x
Copy link
Collaborator

@kainino0x kainino0x commented Sep 26, 2025

In preparation to remove USE_WEBGPU entirely (#24265). Ideally these tests would live in Dawn, but we don't have a way to automate tests in the browser yet, so for the moment we'll keep them in Emscripten.

In preparation to remove USE_WEBGPU entirely (emscripten-core#24265). Ideally these
tests would live in Dawn, but we don't have a way to automate tests in
the browser yet, so for the moment we'll keep them in Emscripten.

DO NOT SUBMIT: Needs Emdawnwebgpu roll in order to pass
@kainino0x
Copy link
Collaborator Author

@lokokung PTAL

@kainino0x kainino0x force-pushed the roll-and-repoint-tests branch 2 times, most recently from a88588a to ffb124d Compare September 26, 2025 18:51
@kainino0x kainino0x force-pushed the roll-and-repoint-tests branch from ffb124d to d12517b Compare September 26, 2025 18:55
@kainino0x kainino0x force-pushed the roll-and-repoint-tests branch from 3b2d73d to 4c7bf8a Compare September 27, 2025 06:01
@kainino0x kainino0x force-pushed the roll-and-repoint-tests branch from 4c7bf8a to 4f93d5f Compare September 27, 2025 06:53
@kainino0x kainino0x requested a review from sbc100 September 27, 2025 08:58
@kainino0x kainino0x marked this pull request as ready for review September 27, 2025 08:58

def test_webgpu_get_device_pthreads(self):
self.btest_exit('webgpu_get_device.cpp', cflags=['-Wno-error=deprecated', '-sUSE_WEBGPU', '-pthread'])
self.set_setting('NO_DEFAULT_TO_CXX', 0) # emdawnwebgpu uses C++ internally
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What to do about this long term?

Is this some fundamental difference between the old and new implementation? The only one manged to avoid depending on libc++ library functions but the new one did not? Are folks who use this library simply bound to link with C++?

raise Exception('Remote ports require Emscripten 4.0.10+.')


def clear(ports, settings, shared):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can / should we update the port as a separate PR that we can land first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants