From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76223] [radeonsi] luxmark segfault Date: Mon, 09 Jun 2014 18:18:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1357153214==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0FEB46E5B6 for ; Mon, 9 Jun 2014 11:18:36 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1357153214== Content-Type: multipart/alternative; boundary="1402337916.37fD233c1.3053"; charset="us-ascii" --1402337916.37fD233c1.3053 Date: Mon, 9 Jun 2014 18:18:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76223 --- Comment #6 from Aaron Watry --- If you're building from luxrays source, can you also try disabling image support and seeing if the error changes? For a source build, go to scenes/luxball/luxball.cfg, and add: accelerator.imagestorage.enable = 1 When I do that, I get some errors related to missing built-in functions that libclc is probably failing to provide: [LuxRays] [OpenCL device::AMD CEDARIntersect] QBVH compilation error: ray_funcs.cl:43:14: error: use of undeclared identifier 'INFINITY' ray->maxt = INFINITY; ^ qbvh_kernel.cl:119:17: warning: implicit declaration of function 'isnotequal' is invalid in C99 int4 cond = isnotequal(divisor, (float4)0.f) & isgreaterequal(b0, (float4)0.f) & ^ qbvh_kernel.cl:119:52: warning: implicit declaration of function 'isgreaterequal' is invalid in C99 int4 cond = isnotequal(divisor, (float4)0.f) & isgreaterequal(b0, (float4)0.f) & ^ qbvh_kernel.cl:121:4: warning: implicit declaration of function 'isgreater' is invalid in C99 isgreater(t, ray4->mint); ^ qbvh_kernel.cl:206:21: warning: implicit declaration of function 'signbit' is invalid in C99 const int signs0 = signbit(ray4.dx.s0); ^ [SLG] OpenCL ERROR: clBuildProgram(CL_BUILD_PROGRAM_FAILURE) -- You are receiving this mail because: You are the assignee for the bug. --1402337916.37fD233c1.3053 Date: Mon, 9 Jun 2014 18:18:36 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 6 on bug 76223 from
If you're building from luxrays source, can you also try disabling image
support and seeing if the error changes?

For a source build, go to scenes/luxball/luxball.cfg, and add:
accelerator.imagestorage.enable = 1

When I do that, I get some errors related to missing built-in functions that
libclc is probably failing to provide:

[LuxRays] [OpenCL device::AMD CEDARIntersect] QBVH compilation error:
ray_funcs.cl:43:14: error: use of undeclared identifier 'INFINITY'
        ray->maxt = INFINITY;
                    ^
qbvh_kernel.cl:119:17: warning: implicit declaration of function 'isnotequal'
is invalid in C99
    int4 cond = isnotequal(divisor, (float4)0.f) & isgreaterequal(b0,
(float4)0.f) &
                ^
qbvh_kernel.cl:119:52: warning: implicit declaration of function
'isgreaterequal' is invalid in C99
    int4 cond = isnotequal(divisor, (float4)0.f) & isgreaterequal(b0,
(float4)0.f) &
                                                   ^
qbvh_kernel.cl:121:4: warning: implicit declaration of function 'isgreater' is
invalid in C99
                        isgreater(t, ray4->mint);
                        ^
qbvh_kernel.cl:206:21: warning: implicit declaration of function 'signbit' is
invalid in C99
        const int signs0 = signbit(ray4.dx.s0);
                           ^

[SLG] OpenCL ERROR: clBuildProgram(CL_BUILD_PROGRAM_FAILURE)


You are receiving this mail because:
  • You are the assignee for the bug.
--1402337916.37fD233c1.3053-- --===============1357153214== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1357153214==--