Bug 93076 - ASSERTION FAILED: sel.hasDoubleType()
Summary: ASSERTION FAILED: sel.hasDoubleType()
Status: RESOLVED MOVED
Alias: None
Product: Beignet
Classification: Unclassified
Component: Beignet (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: rongyang
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-23 05:01 UTC by ilia
Modified: 2018-10-12 21:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Good old dcttest as in 92673 . gcc dcttest.c -O2 -lOpenCL -lm -o dcttest; ./dcttest 0 0 (19.35 KB, text/plain)
2015-11-23 05:01 UTC, ilia
Details
gdb bt. master at ec92544c387c5c2e3c7f6acfccddd353e7974e13 (3.72 KB, text/plain)
2015-11-27 09:22 UTC, ilia
Details

Description ilia 2015-11-23 05:01:01 UTC
Created attachment 120045 [details]
Good old dcttest as in 92673 . gcc dcttest.c -O2 -lOpenCL -lm -o dcttest; ./dcttest 0 0

ASSERTION FAILED: sel.hasDoubleType()
  at file /home/inferno/.dev/OpenCL/beignet/backend/src/backend/gen_insn_selection.cpp, function void gbe::ConvertInstructionPattern::convertSmallIntsToDouble(gbe::Selection::Opaque&, const gbe::ir::ConvertInstruction&, bool&) const, line 4930

The code in attachment worked fine with beigned about month ago and it still working with others, at least with pocl.
Comment 1 rongyang 2015-11-27 03:48:19 UTC
Does this bug still exit? I use the beignet master but can't reproduce, on Ivy Bridge.
Comment 2 ilia 2015-11-27 09:04:45 UTC
I'm on Haswell with llvm 3.7 and bug still exists.
./dcttest 0 0
0.053000 seconds to calculate host values
Succeeded to create a device group!
	Device: 0
		Name:				Intel(R) HD Graphics Haswell Ultrabook GT2 Mobile
		Vendor:				Intel
		Available:			Yes
		Compute Units:			20
		Clock Frequency:		1000 mHz
		Global Memory:			2048 mb
		Max Allocateable Memory:	1536 mb
		Local Memory:			65536 kb

Succeeded to create a compute context!
Succeeded to create a command commands!
Succeeded to create compute program!
ASSERTION FAILED: sel.hasDoubleType()
  at file /home/inferno/.dev/OpenCL/beignet/backend/src/backend/gen_insn_selection.cpp, function void gbe::ConvertInstructionPattern::convertSmallIntsToDouble(gbe::Selection::Opaque&, const gbe::ir::ConvertInstruction&, bool&) const, line 4953
Trace/breakpoint trap (core dumped)
Comment 3 ilia 2015-11-27 09:22:31 UTC
Created attachment 120162 [details]
gdb bt. master at ec92544c387c5c2e3c7f6acfccddd353e7974e13
Comment 4 GitLab Migration User 2018-10-12 21:23:58 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/beignet/beignet/issues/23.


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.