Jump to content

opencl error with viscous flip sim


XRM

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...