Jump to content
Sign in to follow this  
XRM

opencl error with viscous flip sim

Recommended Posts

Hi fellow FX artists. I was recently doing a sim which required viscous liquids. I wanted to try the opencl option with helps to calculate pressure and viscosity on a graphics card. I am getting this error

 

c:\workarea\16.15.2211\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel/opencl12_builtins.h:14603:36: note: candidate function not viable: no known conversion from 'const __global fpreal *' (aka 'const __global float *') to 'const __local half *' for 2nd argument
half __attribute__((overloadable)) vload(size_t offset, const __local half *p);
                                   ^
c:\workarea\16.15.2211\stream\opencl\compiler\clc2\ocl-headers\build\wNow64a\B_rel/opencl12_builtins.h:14609:36: note: candidate function not viable: no known conversion from 'const __global fpreal *' (aka 'const __global float *') to 'const half *' for 2nd argument
half __attribute__((overloadable)) vload(size_t offset, const __private half *p);
                                   ^

error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
clBuildProgram (-11)
OpenCL Exception: C:\Users\Ranadeep\AppData\Local\Temp\\OCL9128T41.cl:286:27: error: no matching function for call to 'vload'
        fpreal dq_blend_weight = vload(i, dqLW);

 

 

My version of Houdini is 15.0.244.16

 

This use to work fine on houdini 14.

 

Graphics info is below

 

OpenCL Platform           AMD Accelerated Parallel Processing
Platform Vendor           Advanced Micro Devices, Inc.
Platform Version          OpenCL 2.0 AMD-APP (2004.6)
OpenCL Device             Hawaii
OpenCL Type               GPU
Device Version            OpenCL 2.0 AMD-APP (2004.6)
Frequency                 947 MHz
Compute Units             40
Device Address Bits       64
Global Memory             4096 MB
Max Allocation            2880 MB
Global Cache              16 KB
Max Constant Args         8
Max Constant Size         64 KB
Local Mem Size            32 KB
2D Image Support          16384x16384
3D Image Support          2048x2048x2048

OpenCL Platform Extensions:
   cl_khr_icd
   cl_khr_d3d10_sharing
   cl_khr_d3d11_sharing
   cl_khr_dx9_media_sharing
   cl_amd_event_callback
   cl_amd_offline_devices

OpenCL Device Extensions:
   cl_khr_fp64
   cl_amd_fp64
   cl_khr_global_int32_base_atomics
   cl_khr_global_int32_extended_atomics
   cl_khr_local_int32_base_atomics
   cl_khr_local_int32_extended_atomics
   cl_khr_int64_base_atomics
   cl_khr_int64_extended_atomics
   cl_khr_3d_image_writes
   cl_khr_byte_addressable_store
   cl_khr_gl_sharing
   cl_khr_gl_depth_images
   cl_amd_device_attribute_query
   cl_amd_vec3
   cl_amd_printf
   cl_amd_media_ops
   cl_amd_media_ops2
   cl_amd_popcnt
   cl_khr_d3d10_sharing
   cl_khr_d3d11_sharing
   cl_khr_dx9_media_sharing
   cl_khr_image2d_from_buffer
   cl_khr_spir
   cl_khr_subgroups
   cl_khr_gl_event
   cl_khr_depth_images
   cl_khr_mipmap_image
   cl_khr_mipmap_image_writes

 

 

 

Please if someone has a workaround let me know.

 

Thank you

Share this post


Link to post
Share on other sites
Guest tar

First thing to try is a later H15 build. The initial release is 200+ days old.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×