contrib/beignet.git
12 years agovalue.hpp -> immediate.hpp value is going to be a real "Value" (as compiler values)
Benjamin Segovia [Thu, 15 Mar 2012 14:34:25 +0000 (14:34 +0000)]
value.hpp -> immediate.hpp value is going to be a real "Value" (as compiler values)

12 years agoAdded proper bookkeeping for the argument types Finished the liveness pretty printer
Benjamin Segovia [Thu, 15 Mar 2012 14:15:33 +0000 (14:15 +0000)]
Added proper bookkeeping for the argument types Finished the liveness pretty printer

12 years agoStarted to implement pretty printer for the liveness analysis
Benjamin Segovia [Thu, 15 Mar 2012 05:24:54 +0000 (22:24 -0700)]
Started to implement pretty printer for the liveness analysis

12 years agoStarted to implement liveness analysis
Benjamin Segovia [Tue, 13 Mar 2012 19:33:57 +0000 (19:33 +0000)]
Started to implement liveness analysis

12 years agoStarted to implement liveness analysis
Benjamin Segovia [Tue, 13 Mar 2012 07:59:41 +0000 (00:59 -0700)]
Started to implement liveness analysis

12 years agoRemoved unused returnStruct field from function Included stdlib.h for all files
Benjamin Segovia [Tue, 13 Mar 2012 02:26:24 +0000 (19:26 -0700)]
Removed unused returnStruct field from function Included stdlib.h for all files

12 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_/

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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)

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

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

12 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

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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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

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

12 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

12 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...)

12 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

12 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

12 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

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

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

12 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

12 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

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

12 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

12 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

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

12 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

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

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

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

12 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

12 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)

12 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

12 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

12 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

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

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

12 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

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

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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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)

12 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)

12 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

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

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

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

12 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

12 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)

12 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

12 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.

12 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.

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

12 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

12 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.

12 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.

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

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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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).

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

12 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

12 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