Jump to content

Can't use Minimal OpenCL Solve


NYXD

Recommended Posts

Hi! I'm actually trying to get trough the tutorial series of Houdini "Destruction FX", and I need to use the Minimal OpenCl Solve for a Pyro Sim. But as soon as I turn it on, my console pops up with tons of errors showing up! I couldn't find something talking abt it on the internet as it is a pretty new feature, so if anyone knows how I could solve that it would be perfect. Here is the massive error message:

In file included from C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include\CVDBUtil.h:31:
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:22:41: warning: double precision constant requires cl_khr_fp64, casting to single precision
    coord->mVec[0] = floor(xyz->mVec[0]+0.5);
                                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:23:41: warning: double precision constant requires cl_khr_fp64, casting to single precision
    coord->mVec[1] = floor(xyz->mVec[1]+0.5);
                                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:24:41: warning: double precision constant requires cl_khr_fp64, casting to single precision
    coord->mVec[2] = floor(xyz->mVec[2]+0.5);
                                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:124:19: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
CREATE_LERPSIMPLE(double, D)
                  ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:117:23: note: expanded from macro 'CREATE_LERPSIMPLE'
cnanovdb_lerp##SUFFIX(VALUETYPE a, VALUETYPE b, float w) \
                      ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:124:19: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
CREATE_LERPSIMPLE(double, D)
                  ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:117:36: note: expanded from macro 'CREATE_LERPSIMPLE'
cnanovdb_lerp##SUFFIX(VALUETYPE a, VALUETYPE b, float w) \
                                   ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:124:19: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
CREATE_LERPSIMPLE(double, D)
                  ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:115:46: note: expanded from macro 'CREATE_LERPSIMPLE'
#define CREATE_LERPSIMPLE(VALUETYPE, SUFFIX) \
                                             ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:234:25: warning: double precision constant requires cl_khr_fp64, casting to single precision
        qxyz.mVec -= 0.5;
                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:236:25: warning: double precision constant requires cl_khr_fp64, casting to single precision
        qxyz.mVec += 1.0;
                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:238:25: warning: double precision constant requires cl_khr_fp64, casting to single precision
        qxyz.mVec -= 0.5;
                        ^

error: front end compiler failed build.clBuildProgram (-11)
OpenCL Exception: In file included from :1:
In file included from C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include\CVDBUtil.h:30:
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CNanoVDB.h:84:5: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
    double mMatD[9];    // r,c = 3*r + c
    ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CNanoVDB.h:85:5: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
    double mInvMatD[9]; // r,c = 3*r + c
    ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CNanoVDB.h:86:5: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
    double mVecD[3];
    ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CNanoVDB.h:87:5: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
    double mTaperD;
    ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CNanoVDB.h:221:5: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
    double           mBBox[6]; // 48B. floating-point bounds of active values in WORLD SPACE
    ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CNanoVDB.h:222:5: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
    double           mVoxelSize[3]; // 24B. size of a voxel in world units
    ^
In file included from :1:
In file included from C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include\CVDBUtil.h:31:
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:22:41: warning: double precision constant requires cl_khr_fp64, casting to single precision
    coord->mVec[0] = floor(xyz->mVec[0]+0.5);
                                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:23:41: warning: double precision constant requires cl_khr_fp64, casting to single precision
    coord->mVec[1] = floor(xyz->mVec[1]+0.5);
                                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:24:41: warning: double precision constant requires cl_khr_fp64, casting to single precision
    coord->mVec[2] = floor(xyz->mVec[2]+0.5);
                                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:124:19: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
CREATE_LERPSIMPLE(double, D)
                  ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:117:23: note: expanded from macro 'CREATE_LERPSIMPLE'
cnanovdb_lerp##SUFFIX(VALUETYPE a, VALUETYPE b, float w) \
                      ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:124:19: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
CREATE_LERPSIMPLE(double, D)
                  ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:117:36: note: expanded from macro 'CREATE_LERPSIMPLE'
cnanovdb_lerp##SUFFIX(VALUETYPE a, VALUETYPE b, float w) \
                                   ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:124:19: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
CREATE_LERPSIMPLE(double, D)
                  ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:115:46: note: expanded from macro 'CREATE_LERPSIMPLE'
#define CREATE_LERPSIMPLE(VALUETYPE, SUFFIX) \
                                             ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:234:25: warning: double precision constant requires cl_khr_fp64, casting to single precision
        qxyz.mVec -= 0.5;
                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:236:25: warning: double precision constant requires cl_khr_fp64, casting to single precision
        qxyz.mVec += 1.0;
                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:238:25: warning: double precision constant requires cl_khr_fp64, casting to single precision
        qxyz.mVec -= 0.5;
                        ^

error: front end compiler failed build.clBuildProgram (-11)
OpenCL Exception: In file included from :1:
In file included from C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include\CVDBUtil.h:30:
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CNanoVDB.h:84:5: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
    double mMatD[9];    // r,c = 3*r + c
    ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CNanoVDB.h:85:5: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
    double mInvMatD[9]; // r,c = 3*r + c
    ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CNanoVDB.h:86:5: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
    double mVecD[3];
    ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CNanoVDB.h:87:5: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
    double mTaperD;
    ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CNanoVDB.h:221:5: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
    double           mBBox[6]; // 48B. floating-point bounds of active values in WORLD SPACE
    ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CNanoVDB.h:222:5: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
    double           mVoxelSize[3]; // 24B. size of a voxel in world units
    ^
In file included from :1:
In file included from C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include\CVDBUtil.h:31:
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:22:41: warning: double precision constant requires cl_khr_fp64, casting to single precision
    coord->mVec[0] = floor(xyz->mVec[0]+0.5);
                                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:23:41: warning: double precision constant requires cl_khr_fp64, casting to single precision
    coord->mVec[1] = floor(xyz->mVec[1]+0.5);
                                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:24:41: warning: double precision constant requires cl_khr_fp64, casting to single precision
    coord->mVec[2] = floor(xyz->mVec[2]+0.5);
                                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:124:19: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
CREATE_LERPSIMPLE(double, D)
                  ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:117:23: note: expanded from macro 'CREATE_LERPSIMPLE'
cnanovdb_lerp##SUFFIX(VALUETYPE a, VALUETYPE b, float w) \
                      ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:124:19: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
CREATE_LERPSIMPLE(double, D)
                  ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:117:36: note: expanded from macro 'CREATE_LERPSIMPLE'
cnanovdb_lerp##SUFFIX(VALUETYPE a, VALUETYPE b, float w) \
                                   ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:124:19: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
CREATE_LERPSIMPLE(double, D)
                  ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:115:46: note: expanded from macro 'CREATE_LERPSIMPLE'
#define CREATE_LERPSIMPLE(VALUETYPE, SUFFIX) \
                                             ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:234:25: warning: double precision constant requires cl_khr_fp64, casting to single precision
        qxyz.mVec -= 0.5;
                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:236:25: warning: double precision constant requires cl_khr_fp64, casting to single precision
        qxyz.mVec += 1.0;
                        ^
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/ocl/include/CSampleFromVoxels.h:238:25: warning: double precision constant requires cl_khr_fp64, casting to single precision
        qxyz.mVec -= 0.5;
                        ^
:103:19: warning: double precision constant requires cl_khr_fp64, casting to single precision
    if (s_speed < V_EPSILON && t_speed < V_EPSILON)
                  ^
:90:19: note: expanded from macro 'V_EPSILON'
#define V_EPSILON 1e-10
                  ^
:103:42: warning: double precision constant requires cl_khr_fp64, casting to single precision
    if (s_speed < V_EPSILON && t_speed < V_EPSILON)
                                         ^
:90:19: note: expanded from macro 'V_EPSILON'
#define V_EPSILON 1e-10
                  ^
:106:24: warning: double precision constant requires cl_khr_fp64, casting to single precision
    else if (s_speed < V_EPSILON)
                       ^
:90:19: note: expanded from macro 'V_EPSILON'
#define V_EPSILON 1e-10
                  ^
:108:24: warning: double precision constant requires cl_khr_fp64, casting to single precision
    else if (t_speed < V_EPSILON)
                       ^
:90:19: note: expanded from macro 'V_EPSILON'
#define V_EPSILON 1e-10
                  ^
:118:22: warning: double precision constant requires cl_khr_fp64, casting to single precision
        if (dp > 1 - A_EPSILON)
                     ^
:91:19: note: expanded from macro 'A_EPSILON'
#define A_EPSILON 1e-5
                  ^
:124:22: warning: double precision constant requires cl_khr_fp64, casting to single precision
            if (dp < A_EPSILON - 1)
                     ^
:91:19: note: expanded from macro 'A_EPSILON'
#define A_EPSILON 1e-5
                  ^

error: front end compiler failed build.clBuildProgram (-11)

Link to comment
Share on other sites

I'm working on a pretty old laptop with a geforce 720M, an Intel Core i3 3110M and 8 go of RAM. I checked my graphic driver with Nvidia Geforce experience and it seems like I've already the best one for my laptop...

And sorry but I don't know what u mean about my grids? Wich grids? (I'm a beginner) I drop u the .hipnc file below so you can check everything u want!

 

House_Destruction.hipnc

Link to comment
Share on other sites

The errors indicate your card is missing an extension for double precision float types (64 bit float). But the 720m supports OpenCL 1.1, which should know this type. I guess updating drivers couldnt hurt, but dont expect too much.

I have a 780gtx in my rig and while eg. the minimal solver shelf tool explosion technically works, its hardly usable for anything than a really, really coarse preview (exceeding vram i guess). When it works its fast tho.

Since my gpu is from the same series I tested your scene and it works fine. Maybe its better to ask the sidefx forum, since thats a bit closer to the devs.

Edited by nuki
  • Like 1
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...