王璇

Results 15 comments of 王璇

Same error. You might compile the program with nvcc as the default compiler. I have the same problem but can't find the solution. I used the 3.8.0 to avoid this...

Similar problem. Seems that the fixes haven't merged into the master branch yet. ``` Kokkos::parallel_reduce( "residual_norm", team_policy(Nx, Kokkos::AUTO), KOKKOS_LAMBDA(const member_type& teamMember, double& update) { const int i = teamMember.league_rank(); double...

嗯嗯,加个开关,挺好看的~

可能的原因:在Safari上,点击播放按钮后,音频不会自动加载。在play之前需要load函数。

在safari中,如果audio的preload属性是metadata,或者none,那么始终不会出发canplay事件。因此需要在play函数中加入下面这一段代码: ``` if (!this.canPlay) { this.audio.load() } ``` 点击播放按钮后,如果这首歌不能播放,那么会先试着加载一下,加载会触发canplay事件了,然后把canPlay设为true,后面的逻辑就通顺了。