我在使用默认的ti.init(arch = ti.vulkan)计算时没有报错,但加上default_fp=ti.f64之后有如下报错
[E 10/11/23 17:43:21.712 37532] [spirv_codegen.cpp:taichi::lang::spirv::`anonymous-namespace'::TaskCodegen::visit@866] Instruction Exp(27) does not 64bits operation
Traceback (most recent call last):
File "c:\Users\liuyu\Desktop\taichi new shear rate\run_simlation.py", line 62, in <module>
solver.step()
^^^^^^^^^^^^^
File "c:\Users\liuyu\Desktop\taichi new shear rate\sph_base.py", line 259, in step
self.substep()
File "c:\Users\liuyu\Desktop\taichi new shear rate\WCSPH.py", line 724, in substep
self.compute_As__sound_velocity__pressure()
File "C:\Users\liuyu\anaconda3\Lib\site-packages\taichi\lang\kernel_impl.py", line 1033, in __call__
return self._primal(self._kernel_owner, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\liuyu\anaconda3\Lib\site-packages\taichi\lang\kernel_impl.py", line 906, in __call__
return self.runtime.compiled_functions[key](*args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\liuyu\anaconda3\Lib\site-packages\taichi\lang\kernel_impl.py", line 817, in func__
raise e from None
File "C:\Users\liuyu\anaconda3\Lib\site-packages\taichi\lang\kernel_impl.py", line 814, in func__
t_kernel(launch_ctx)
RuntimeError: [spirv_codegen.cpp:taichi::lang::spirv::`anonymous-namespace'::TaskCodegen::visit@866] Instruction Exp(27) does not 64bits operation
请问是哪个运算是不支持双精度的呢?