contrib/beignet.git
11 years agoMade the instructions double-chain list elements Renamed the register family s/Regist...
Benjamin Segovia [Tue, 13 Mar 2012 01:36:14 +0000 (18:36 -0700)]
Made the instructions double-chain list elements Renamed the register family s/RegisterData::Family/RegisterFamily/ s/RegisterData::/FAMILY_/

11 years agoAdded new test
Benjamin Segovia [Mon, 12 Mar 2012 06:14:02 +0000 (23:14 -0700)]
Added new test

11 years agoImplemented PHI and Branch instruction translation
Benjamin Segovia [Mon, 12 Mar 2012 04:42:22 +0000 (21:42 -0700)]
Implemented PHI and Branch instruction translation

11 years agoAdded shuffle/insert/extract elements LLVM IR translation Added Gen IR select instruc...
Benjamin Segovia [Wed, 7 Mar 2012 09:49:50 +0000 (01:49 -0800)]
Added shuffle/insert/extract elements LLVM IR translation Added Gen IR select instruction and LLVM IR select translation

11 years agoAdded more kernels for the very basic tests
Benjamin Segovia [Mon, 5 Mar 2012 07:19:32 +0000 (23:19 -0800)]
Added more kernels for the very basic tests

11 years agoAdded extra check when dealing with our own builtins functions
Benjamin Segovia [Sat, 3 Mar 2012 11:10:57 +0000 (03:10 -0800)]
Added extra check when dealing with our own builtins functions

11 years agoAdded first support for compare instructions Added first support for convert instructions
Benjamin Segovia [Sat, 3 Mar 2012 11:07:13 +0000 (03:07 -0800)]
Added first support for compare instructions Added first support for convert instructions

11 years agoRemoved unused code from former C backend
Benjamin Segovia [Sat, 3 Mar 2012 06:21:53 +0000 (22:21 -0800)]
Removed unused code from former C backend

11 years agoMade first tests pass with vectors
Benjamin Segovia [Sat, 3 Mar 2012 04:45:26 +0000 (20:45 -0800)]
Made first tests pass with vectors

11 years agoExtended the llvm-to-gen translation pass
Benjamin Segovia [Fri, 2 Mar 2012 07:12:13 +0000 (23:12 -0800)]
Extended the llvm-to-gen translation pass

11 years agoAdded first support for immediates Started to add support for builtin functions
Benjamin Segovia [Wed, 29 Feb 2012 20:37:17 +0000 (20:37 +0000)]
Added first support for immediates Started to add support for builtin functions

11 years agoFinished a first very very limited LLVM to Gen-IR translation. It should be just...
Benjamin Segovia [Wed, 29 Feb 2012 18:09:08 +0000 (18:09 +0000)]
Finished a first very very limited LLVM to Gen-IR translation. It should be just enough to write a first very simple kernel

11 years agoAdded various helper functions in the LLVM to Gen translation Implemented binary...
Benjamin Segovia [Tue, 28 Feb 2012 20:05:09 +0000 (20:05 +0000)]
Added various helper functions in the LLVM to Gen translation Implemented binary instruction translation Implemented return instruction translation

11 years agoImplemented a first implementation of the function argument parsing from LLVM IR
Benjamin Segovia [Mon, 27 Feb 2012 20:01:19 +0000 (20:01 +0000)]
Implemented a first implementation of the function argument parsing from LLVM IR

11 years agoRemoved more stuff from CBackend
Benjamin Segovia [Mon, 27 Feb 2012 14:28:06 +0000 (14:28 +0000)]
Removed more stuff from CBackend

11 years agoRemoved the crap related to llvm targets and triples
Benjamin Segovia [Mon, 27 Feb 2012 14:24:14 +0000 (14:24 +0000)]
Removed the crap related to llvm targets and triples

11 years agoStarted to remove the useless crap from CBackend. We only keep the code as a pass...
Benjamin Segovia [Mon, 27 Feb 2012 14:20:39 +0000 (14:20 +0000)]
Started to remove the useless crap from CBackend. We only keep the code as a pass and not as a triple

11 years agoCompiled the skeletong of what the llvm to gbe translator should be
Benjamin Segovia [Wed, 22 Feb 2012 19:33:08 +0000 (19:33 +0000)]
Compiled the skeletong of what the llvm to gbe translator should be

11 years agoAdded a new define for the debug mode (GBE_DEBUG)
Benjamin Segovia [Wed, 22 Feb 2012 16:39:36 +0000 (16:39 +0000)]
Added a new define for the debug mode (GBE_DEBUG)

11 years agoStarted llvm work
Benjamin Segovia [Tue, 21 Feb 2012 20:46:19 +0000 (20:46 +0000)]
Started llvm work

11 years agoAdded missing file
Benjamin Segovia [Tue, 21 Feb 2012 05:39:29 +0000 (05:39 +0000)]
Added missing file

11 years agoAdded support for output streams for functions
Benjamin Segovia [Tue, 21 Feb 2012 05:29:00 +0000 (05:29 +0000)]
Added support for output streams for functions

11 years agoAdded more tests
Benjamin Segovia [Mon, 20 Feb 2012 06:45:16 +0000 (06:45 +0000)]
Added more tests

11 years agoFixed instruction size in the instruction definitions Added more tests for the contex...
Benjamin Segovia [Mon, 20 Feb 2012 04:05:28 +0000 (04:05 +0000)]
Fixed instruction size in the instruction definitions Added more tests for the context Added more check on the labels

11 years agoImproved error messages with better assertions
Benjamin Segovia [Mon, 20 Feb 2012 02:52:19 +0000 (02:52 +0000)]
Improved error messages with better assertions

11 years agos/Register/RegisterData/g s/RegisterIndex/Register/g s/TupleIndex/Tuple/g
Benjamin Segovia [Mon, 20 Feb 2012 01:24:02 +0000 (01:24 +0000)]
s/Register/RegisterData/g s/RegisterIndex/Register/g s/TupleIndex/Tuple/g

11 years agoChanged typing in GrowingPool. It is more C++ like
Benjamin Segovia [Fri, 17 Feb 2012 08:46:52 +0000 (08:46 +0000)]
Changed typing in GrowingPool. It is more C++ like

11 years agoAdded missing test
Benjamin Segovia [Fri, 17 Feb 2012 08:30:35 +0000 (08:30 +0000)]
Added missing test

11 years agoAdded type safety for all uint* Added one more test
Benjamin Segovia [Fri, 17 Feb 2012 08:27:01 +0000 (08:27 +0000)]
Added type safety for all uint* Added one more test

11 years agoMade the memory debugger properly output the unfreed allocations
Benjamin Segovia [Fri, 17 Feb 2012 04:54:16 +0000 (04:54 +0000)]
Made the memory debugger properly output the unfreed allocations

11 years agoAdded more functionality in the unit test "framework" Created one test that basically...
Benjamin Segovia [Fri, 17 Feb 2012 04:50:36 +0000 (04:50 +0000)]
Added more functionality in the unit test "framework" Created one test that basically checks that the unit test system works

11 years agoAdded missing function for compares
Benjamin Segovia [Fri, 17 Feb 2012 04:02:11 +0000 (04:02 +0000)]
Added missing function for compares

11 years agoEnsure type safety for tuple and register indices by making specific classes
Benjamin Segovia [Fri, 17 Feb 2012 03:13:18 +0000 (03:13 +0000)]
Ensure type safety for tuple and register indices by making specific classes

11 years agoAdded compare instructions Finished to implement well formed functions. They basicall...
Benjamin Segovia [Thu, 16 Feb 2012 11:34:31 +0000 (11:34 +0000)]
Added compare instructions Finished to implement well formed functions. They basically check that the definition is consistent (types match, registers and tuple are not out-of-bound the register files or the tuple files...)

11 years agoAdded more functionalities for the context Started to implement wellFormed function...
Benjamin Segovia [Mon, 13 Feb 2012 19:04:16 +0000 (19:04 +0000)]
Added more functionalities for the context Started to implement wellFormed function that basically checks that everything is properly set in the instruction

11 years agoImproved memory debugger -> added memory re-initialization at free time -> added...
Benjamin Segovia [Mon, 13 Feb 2012 14:47:09 +0000 (14:47 +0000)]
Improved memory debugger -> added memory re-initialization at free time -> added automatic memory debugger initialization

11 years agoRenamed ir_{...} to {...} Put ir structures and classes into an IR namespace Made...
Benjamin Segovia [Mon, 13 Feb 2012 14:00:28 +0000 (14:00 +0000)]
Renamed ir_{...} to {...} Put ir structures and classes into an IR namespace Made all headers homogeneous Removed unused files Put again fixed_array since it is pretty convienent

11 years agoint* -> [u]uint*_t
Benjamin Segovia [Mon, 13 Feb 2012 12:44:22 +0000 (12:44 +0000)]
int* -> [u]uint*_t

11 years agoPlasma specific changes
ojomer [Sat, 11 Feb 2012 13:44:11 +0000 (13:44 +0000)]
Plasma specific changes

11 years agoStart to implement context and compilation unit creation
bsegovia [Fri, 10 Feb 2012 17:26:59 +0000 (09:26 -0800)]
Start to implement context and compilation unit creation

11 years agoAdded first support for compilation units Added first support for constant definition...
bsegovia [Wed, 8 Feb 2012 17:55:18 +0000 (09:55 -0800)]
Added first support for compilation units Added first support for constant definition Finished a first version of instruction definitions

11 years agoAdded missing files
bsegovia [Sun, 5 Feb 2012 19:47:45 +0000 (11:47 -0800)]
Added missing files

11 years agoKeep on implementing instruction class implementation. This basically a set of classe...
bsegovia [Sun, 5 Feb 2012 19:15:24 +0000 (11:15 -0800)]
Keep on implementing instruction class implementation. This basically a set of classes that implements the opaque public instruction classes

11 years agoStarted to add cleaner and safer cast facilities for the instructions
Benjamin Segovia [Wed, 1 Feb 2012 11:42:17 +0000 (11:42 +0000)]
Started to add cleaner and safer cast facilities for the instructions

11 years agoCleaned up instruction class implementation
Benjamin Segovia [Wed, 1 Feb 2012 11:22:37 +0000 (11:22 +0000)]
Cleaned up instruction class implementation

11 years agoAdded a clean interface for instruction (encoding in 8 bytes with alternative encodin...
Benjamin Segovia [Wed, 1 Feb 2012 08:22:00 +0000 (08:22 +0000)]
Added a clean interface for instruction (encoding in 8 bytes with alternative encoding for long instruction (using tuples)) Simplified the register structure

11 years agoFixed SNB build
bsegovia [Tue, 24 Jan 2012 00:32:42 +0000 (00:32 +0000)]
Fixed SNB build

11 years agoStarted to implement IR VM
Benjamin Segovia [Mon, 23 Jan 2012 09:57:14 +0000 (09:57 +0000)]
Started to implement IR VM

11 years agoRemoved unused tests
Benjamin Segovia [Sun, 22 Jan 2012 07:00:33 +0000 (07:00 +0000)]
Removed unused tests

11 years ago- renamed namespace (s/pf/gbe) - created first files for the IR
Benjamin Segovia [Sun, 22 Jan 2012 06:58:24 +0000 (06:58 +0000)]
- renamed namespace (s/pf/gbe) - created first files for the IR

11 years agoImplemented SIMD8 for IVB (only tested on Fulsim but should work out of the box on...
bsegovia [Wed, 18 Jan 2012 03:49:31 +0000 (03:49 +0000)]
Implemented SIMD8 for IVB (only tested on Fulsim but should work out of the box on the HW)

11 years agoImplemented image tiling on IVB fulsim
bsegovia [Thu, 1 Dec 2011 03:47:28 +0000 (03:47 +0000)]
Implemented image tiling on IVB fulsim

11 years agoFixed compilation while using the old compiler
bsegovia [Tue, 29 Nov 2011 05:01:22 +0000 (05:01 +0000)]
Fixed compilation while using the old compiler

11 years agoPorted the code to HSW Updated the compiler. Both old and view compilers are supporte...
bsegovia [Tue, 29 Nov 2011 04:50:11 +0000 (04:50 +0000)]
Ported the code to HSW Updated the compiler. Both old and view compilers are supported via a compiler flag

11 years agoPorted the code to HSW
bsegovia [Tue, 29 Nov 2011 04:37:51 +0000 (04:37 +0000)]
Ported the code to HSW

11 years agoremoved krn75 tmp files
bsegovia [Tue, 29 Nov 2011 02:36:06 +0000 (02:36 +0000)]
removed krn75 tmp files

11 years agoSilent GCC warnings in release mode
bsegovia [Tue, 29 Nov 2011 02:02:51 +0000 (02:02 +0000)]
Silent GCC warnings in release mode

11 years agoRemoved unused file
bsegovia [Tue, 29 Nov 2011 01:23:16 +0000 (01:23 +0000)]
Removed unused file

11 years agoAdded new kernels
bsegovia [Tue, 29 Nov 2011 01:21:58 +0000 (01:21 +0000)]
Added new kernels

11 years agoAdded a program to inject ASM code in a binary blob
bsegovia [Sat, 29 Oct 2011 00:27:49 +0000 (00:27 +0000)]
Added a program to inject ASM code in a binary blob

11 years agoAdded support __constant samplers
bsegovia [Tue, 18 Oct 2011 00:59:41 +0000 (00:59 +0000)]
Added support __constant samplers

11 years agoImplemented API functions related to samplers
bsegovia [Sat, 15 Oct 2011 05:47:52 +0000 (05:47 +0000)]
Implemented API functions related to samplers

11 years agoRemoved some useless code in cl_utils.h Started to implement support for samplers
bsegovia [Sat, 15 Oct 2011 05:34:12 +0000 (05:34 +0000)]
Removed some useless code in cl_utils.h Started to implement support for samplers

11 years agoImproved the support for fulsim dumps. Previously because of some limitations in...
bsegovia [Sat, 15 Oct 2011 04:48:12 +0000 (04:48 +0000)]
Improved the support for fulsim dumps. Previously because of some limitations in the bmp read code, we were not able to dump large buffers. Now, I just subdivide each buffer into chunks to make it work. Note that you also need to update libdrm_fulsim from the subversion server

11 years agoFinished first support for image2D. Right now, we only support linear formats
bsegovia [Sat, 15 Oct 2011 04:06:29 +0000 (04:06 +0000)]
Finished first support for image2D. Right now, we only support linear formats

11 years agoAdded first support for (still linear) images for Gen7
bsegovia [Sat, 15 Oct 2011 01:40:08 +0000 (01:40 +0000)]
Added first support for (still linear) images for Gen7

11 years agoFirst test now passes with images (format still hard-coded and constant patching...
bsegovia [Fri, 14 Oct 2011 04:41:19 +0000 (04:41 +0000)]
First test now passes with images (format still hard-coded and constant patching is still missing)

11 years agoStarted to implement support for images (back end part of it is still missing)
bsegovia [Fri, 14 Oct 2011 03:30:36 +0000 (03:30 +0000)]
Started to implement support for images (back end part of it is still missing)

11 years agoCleaned up a bit the code removing unnecessary defines and structs from Mesa
bsegovia [Thu, 13 Oct 2011 23:41:18 +0000 (23:41 +0000)]
Cleaned up a bit the code removing unnecessary defines and structs from Mesa

11 years agoAdded copy images
bsegovia [Thu, 13 Oct 2011 23:00:51 +0000 (23:00 +0000)]
Added copy images

11 years agoRemoved warnings
bsegovia [Tue, 11 Oct 2011 02:30:40 +0000 (02:30 +0000)]
Removed warnings

11 years agoAdded Mandelbrot tests
bsegovia [Tue, 11 Oct 2011 02:02:35 +0000 (02:02 +0000)]
Added Mandelbrot tests

11 years agoImplement the support for a separated surface heap as required by IVB
bsegovia [Fri, 7 Oct 2011 23:49:53 +0000 (23:49 +0000)]
Implement the support for a separated surface heap as required by IVB

11 years agoAdded a new test (to debug IVB)
bsegovia [Thu, 6 Oct 2011 03:20:17 +0000 (03:20 +0000)]
Added a new test (to debug IVB)

11 years agoRemoved MI_FLUSH and replaced them by proper pipe control
bsegovia [Wed, 5 Oct 2011 04:37:49 +0000 (04:37 +0000)]
Removed MI_FLUSH and replaced them by proper pipe control

11 years agoThis is a test file just for checking the e-mail functionality. Can be deleted at...
steves [Tue, 6 Sep 2011 23:44:04 +0000 (23:44 +0000)]
This is a test file just for checking the e-mail functionality. Can be deleted at any time.

11 years agoThis is a test file just for checking the e-mail functionality. Can be deleted at...
steves [Tue, 6 Sep 2011 22:23:58 +0000 (22:23 +0000)]
This is a test file just for checking the e-mail functionality. Can be deleted at any time.

11 years agoiTesting out the email facilitywq!
hlthantr [Tue, 6 Sep 2011 21:57:02 +0000 (21:57 +0000)]
iTesting out the email facilitywq!

11 years agoChanged FP mode for the kernels. Seems to be required by the compiler Added a trigo...
bsegovia [Fri, 2 Sep 2011 01:19:35 +0000 (01:19 +0000)]
Changed FP mode for the kernels. Seems to be required by the compiler Added a trigo test

11 years agoAdded support for: clEnqueueReadBuffer clgetkernelWorkGroupInfo: For this currently...
hlthantr [Wed, 31 Aug 2011 20:07:24 +0000 (20:07 +0000)]
Added support for: clEnqueueReadBuffer clgetkernelWorkGroupInfo: For this currently, a static solution based on the type of device has been implemented. This has been done for the sake of completeness. A real implementation should ideally parse the kernel, and extract this information.

Fixed issue:
A return value issue in drm_intel_bo_subdata, where different versions of the library differ in how they treat error. In one case, an rval of zero indicates success,
and in the other, it indicates failure. Fix is to remove the checking of rval entirely.

11 years agoFixed support for OCL without X running. This allows users to directly use /dev/dri...
hlthantr [Tue, 30 Aug 2011 00:54:39 +0000 (00:54 +0000)]
Fixed support for OCL without X running. This allows users to directly use /dev/dri/card0 to issue GPU commands.

11 years agoOther minor changes to README
bsegovia [Fri, 12 Aug 2011 03:24:46 +0000 (03:24 +0000)]
Other minor changes to README

11 years agoUpdated README
bsegovia [Fri, 12 Aug 2011 03:23:21 +0000 (03:23 +0000)]
Updated README

11 years agoMade fulsim integration seamless from the user point of view
bsegovia [Fri, 12 Aug 2011 03:11:42 +0000 (03:11 +0000)]
Made fulsim integration seamless from the user point of view

11 years agoStarted to remove kludge while using fulsim
bsegovia [Fri, 12 Aug 2011 02:57:15 +0000 (02:57 +0000)]
Started to remove kludge while using fulsim

11 years agoUnifying the OpenCL stack to work with latest Linux CPU headers. Fixed a small issue...
hlthantr [Wed, 10 Aug 2011 22:23:22 +0000 (22:23 +0000)]
Unifying the OpenCL stack to work with latest Linux CPU headers. Fixed a small issue with allowing for checking of # of platforms in clGetPlatformIDwq

11 years agoRemoved some unused fields in vfe state settings
bsegovia [Fri, 5 Aug 2011 07:06:05 +0000 (07:06 +0000)]
Removed some unused fields in vfe state settings

11 years agoKept on simplifying vfe state setting
bsegovia [Fri, 5 Aug 2011 07:02:27 +0000 (07:02 +0000)]
Kept on simplifying vfe state setting

11 years agoStarted to clean up and simplify vfe state setting
bsegovia [Fri, 5 Aug 2011 07:00:57 +0000 (07:00 +0000)]
Started to clean up and simplify vfe state setting

11 years agoFixed stupid SNB regression
bsegovia [Fri, 5 Aug 2011 06:39:28 +0000 (06:39 +0000)]
Fixed stupid SNB regression

11 years agoNow IVB performs as well as SNB. All tests except for fft pass (for both).
bsegovia [Fri, 5 Aug 2011 04:46:06 +0000 (04:46 +0000)]
Now IVB performs as well as SNB. All tests except for fft pass (for both).

11 years agoAll unit tests now pass
bsegovia [Thu, 4 Aug 2011 23:26:44 +0000 (23:26 +0000)]
All unit tests now pass

11 years agoMade test_imm_paramters / test_2d_copy pass on IVB
bsegovia [Thu, 4 Aug 2011 04:16:20 +0000 (04:16 +0000)]
Made test_imm_paramters / test_2d_copy pass on IVB

11 years agoCleaned and simplified all test kernels and codes. Now everything is inside one repor...
bsegovia [Thu, 4 Aug 2011 03:22:41 +0000 (03:22 +0000)]
Cleaned and simplified all test kernels and codes. Now everything is inside one reportory and kernels are compiled and sorted per generation

11 years agoModified kernel directory
bsegovia [Thu, 4 Aug 2011 02:23:30 +0000 (02:23 +0000)]
Modified kernel directory

11 years agoRemoved unused files/directories
bsegovia [Thu, 4 Aug 2011 02:00:02 +0000 (02:00 +0000)]
Removed unused files/directories

11 years agosimplied kernel directory
bsegovia [Thu, 4 Aug 2011 01:57:40 +0000 (01:57 +0000)]
simplied kernel directory

11 years agoCleaned and simplified code for gen6 Code now starts to work for gen7
bsegovia [Thu, 4 Aug 2011 01:33:16 +0000 (01:33 +0000)]
Cleaned and simplified code for gen6 Code now starts to work for gen7

11 years agoKept changing file layout
bsegovia [Sat, 30 Jul 2011 02:08:37 +0000 (02:08 +0000)]
Kept changing file layout

11 years agoCleaned up code to start GPGPU_WALKER integration
bsegovia [Sat, 30 Jul 2011 01:35:53 +0000 (01:35 +0000)]
Cleaned up code to start GPGPU_WALKER integration