The smallptgpu example from here ocltoys-linux64-v1.0.zip at http://code.google.com/p/ocltoys/downloads/list doesn't work: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff6ab025d in clover::kernel::launch(clover::command_queue&, std::vector<unsigned long, std::allocator<unsigned long> > const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, std::vector<unsigned long, std::allocator<unsigned long> > const&) () from /usr/lib64/libMesaOpenCL.so.1 Missing separate debuginfos, use: debuginfo-install elfutils-libelf-0.157-1.fc20.x86_64 expat-2.1.0-7.fc20.x86_64 libX11-1.6.1-1.fc20.x86_64 libXau-1.0.8-2.fc20.x86_64 libXdamage-1.1.4-4.fc20.x86_64 libXext-1.3.2-2.fc20.x86_64 libXfixes-5.0.1-2.fc20.x86_64 libXxf86vm-1.1.3-2.fc20.x86_64 libdrm-2.4.50-1.fc20.x86_64 libffi-3.0.13-5.fc20.x86_64 libgcc-4.8.2-7.fc20.x86_64 libselinux-2.2.1-6.fc20.x86_64 libstdc++-4.8.2-7.fc20.x86_64 libxcb-1.9.1-3.fc20.x86_64 llvm-libs-3.3-4.fc20.x86_64 mesa-dri-drivers-10.0.2-2.20140110.fc21.x86_64 mesa-libGL-10.0.2-2.20140110.fc21.x86_64 mesa-libOpenCL-10.0.2-2.20140110.fc21.x86_64 mesa-libOpenCL-devel-10.0.2-2.20140110.fc21.x86_64 mesa-libglapi-10.0.2-2.20140110.fc21.x86_64 ocl-icd-2.0.4-1.git20131001.4ee231e.fc20.x86_64 pcre-8.33-2.fc20.1.x86_64 systemd-libs-208-9.fc20.x86_64 xz-libs-5.1.2-6alpha.fc20.x86_64 zlib-1.2.8-3.fc20.x86_64 (gdb) bt #0 0x00007ffff6ab025d in clover::kernel::launch(clover::command_queue&, std::vector<unsigned long, std::allocator<unsigned long> > const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, std::vector<unsigned long, std::allocator<unsigned long> > const&) () from /usr/lib64/libMesaOpenCL.so.1 #1 0x00007ffff6aab025 in clover::event::trigger() [clone .part.32] () from /usr/lib64/libMesaOpenCL.so.1 #2 0x00007ffff6aabb48 in clover::hard_event::hard_event(clover::command_queue&, unsigned int, clover::ref_vector<clover::event> const&, std::function<void (clover::event&)>) () from /usr/lib64/libMesaOpenCL.so.1 #3 0x00007ffff6acb8c9 in clEnqueueNDRangeKernel () from /usr/lib64/libMesaOpenCL.so.1 #4 0x0000003eb62078ec in clEnqueueNDRangeKernel () from /lib64/libOpenCL.so.1 #5 0x0000000000454d7c in MandelGPU::UpdateMandel() () #6 0x0000000000455a84 in MandelGPU::RunToy() () #7 0x000000000045b1d6 in OCLToy::Run(int, char**) () #8 0x0000000000449057 in main () (gdb)
YOu might need to run $ sed -i "s/^static//" *.cl to remove the static modifier from the (inclid) cl files.
This was (after clinfo) the first example which was run on Fedora 20 and mesa 10.
Does r600 have floating-point support? or might this bug be because of a missing float support?
This is an old bug. All ocl-toys examples run OK on my AMD TURKS (DRM 2.49.0 / 4.11.11-300.fc26.x86_64, LLVM 6.0.0). Please reopen if you still see the issue.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.