Skip to content

Execution of Test Case Failed  #9

@dendisuhubdy

Description

@dendisuhubdy

C02QH2D7G8WM:opencl userone$ g++ clrng1.cpp -o clrng1 -lclrng -framework OpenCL
C02QH2D7G8WM:opencl userone$ ./clrng1

clBuildProgram has failed
In file included from :2:
In file included from /Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/mrg31k3p.clh:44:
/Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/clRNG.clh:57:9: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
typedef double cl_double;
^
In file included from :2:
In file included from /Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/mrg31k3p.clh:155:
/Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/private/mrg31k3p.c.h:181:1: warning: double precision constant requires cl_khr_fp64, casting to single precision
IMPLEMENT_GENERATE_FOR_TYPE(cl_float)
^
/Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/private/mrg31k3p.c.h:151:56: note: expanded from macro 'IMPLEMENT_GENERATE_FOR_TYPE'
return clrngMrg31k3pNextState(&stream->current) * mrg31k3p_NORM_##fptype;
^
:11:1: note: expanded from macro 'mrg31k3p_NORM_'
mrg31k3p_NORM_cl_float
^
/Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/private/mrg31k3p.c.h:50:33: note: expanded from macro 'mrg31k3p_NORM_cl_float'

define mrg31k3p_NORM_cl_float 4.6566126e-10

                            ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions