I just tried such kernel, and the generated GEN IR is INDIRECT_MOV, it has
nothing to do with this patch.
Thanks
Yejun
-Original Message-
From: Yang, Rong R
Sent: Tuesday, June 13, 2017 3:54 PM
To: Guo, Yejun; Wang, Rander; Pan, Xiuli; beignet@lists.freedesktop.org
Subject: RE:
From: Yan Wang
It will test aligned4 and aligned16 kernel for 3D image.
Signed-off-by: Yan Wang
---
utests/compiler_fill_large_image.cpp | 98
1 file changed, 98 insertions(+)
diff --git
From: Yan Wang
It is similar with 2D image for avoiding extended image width truncated.
Signed-off-by: Yan Wang
---
src/CMakeLists.txt | 2 +
src/cl_context.h | 4 ++
Ping.
-Original Message-
From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Xiuli
Pan
Sent: Friday, May 5, 2017 16:23
To: beignet@lists.freedesktop.org
Cc: Pan, Xiuli
Subject: [Beignet] [PATCH] Fix libva examples build error
From: Pan Xiuli
The spec has required the subgroup size to be 8 or 16, and I think we may need
to fail the build in some other place.
-Original Message-
From: Yang, Rong R
Sent: Tuesday, June 13, 2017 16:44
To: Pan, Xiuli ; beignet@lists.freedesktop.org
Cc: Pan, Xiuli
> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> Xiuli Pan
> Sent: Monday, June 5, 2017 16:28
> To: beignet@lists.freedesktop.org
> Cc: Pan, Xiuli
> Subject: [Beignet] [PATCH 3/3] Utset: Add test case for
>
Also need add the extension define to backend/src/libocl/include/ocl.h file.
> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> Xiuli Pan
> Sent: Monday, June 5, 2017 16:28
> To: beignet@lists.freedesktop.org
> Cc: Pan, Xiuli
Now we have no clang support this extension, I think we can add that in next
LLVM support.
-Original Message-
From: Yang, Rong R
Sent: Tuesday, June 13, 2017 16:41
To: Pan, Xiuli ; beignet@lists.freedesktop.org
Cc: Pan, Xiuli
Subject: RE:
From: Luo Xionghu
fix build warnings.
Signed-off-by: Chuanbo Weng
Signed-off-by: Xionghu Luo
---
kernels/compiler_skip_check.cl | 53
utests/CMakeLists.txt | 1 +
utests/compiler_skip_check.cpp |
From: Luo Xionghu
fix build warnings.
Signed-off-by: Chuanbo Weng
Signed-off-by: Xionghu Luo
---
kernels/compiler_intra_prediction.cl | 91 +++
utests/CMakeLists.txt| 3 +-
From: Luo Xionghu
fix build warnings.
Signed-off-by: Chuanbo Weng
Signed-off-by: Xionghu Luo
---
kernels/compiler_block_motion_estimate_intel.cl | 76
utests/CMakeLists.txt | 1 +
From: Pan Xiuli
If we get intel_reqd_sub_group_size attribute from frontend then set it
to backend.
Signed-off-by: Pan Xiuli
---
backend/src/backend/context.cpp | 6 +-
backend/src/backend/gen_program.cpp | 28
foldFunctionStructArgConstOffset is called before the lowerFunctionArguments.
If foldFunctionStructArgConstOffset is wrong, the INDIRECT_MOV generated in
lowerFunctionArguments also wrong.
I afraid the following ir:
BB2:
LOADI %30, 4
Add %20, %10, %30//%10 is a struct argument
MOV %22, %20
Has you consider the value from two arguments case. For example:
Struct s1{
int i,
float4 f4;
}
Struct s2{
int i;
short s;
float4 f4;
}
__kernel void k(s1, s2, __global float *dst)
{
int gid = get_global_id(0);
float4 *p;
if (gid % 2) {
p =
} else {
> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> Xiuli Pan
> Sent: Monday, June 5, 2017 16:28
> To: beignet@lists.freedesktop.org
> Cc: Pan, Xiuli
> Subject: [Beignet] [PATCH 1/3] Backend: Add
The patchset LGTM, pushed, thanks.
> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> yan.w...@linux.intel.com
> Sent: Tuesday, June 13, 2017 15:46
> To: beignet@lists.freedesktop.org
> Cc: Yan Wang
> Subject:
Add with the next version macro.
-Original Message-
From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Pan,
Xiuli
Sent: Tuesday, June 13, 2017 17:06
To: Yang, Rong R ; beignet@lists.freedesktop.org
Subject: Re: [Beignet] [PATCH 2/3] Runtime:
In current implementation, only loadi and add are considered.
In the example, since %22 is dst of MOV, it will not be recorded. It is
recorded and so impacts the IR only if %22 is dst of ADD.
-Original Message-
From: Yang, Rong R
Sent: Tuesday, June 13, 2017 4:59 PM
To: Guo, Yejun;
From: Pan Xiuli
It seems we missed some newly added device ID for SKL.
Signed-off-by: Pan Xiuli
---
src/cl_device_data.h | 6 +-
src/cl_device_id.c | 4
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/cl_device_data.h
Need deinit submodules for existing projects, or else still failed to update
libva repo.
Another issue is "undefined reference to 'drm_intel_get_min_eu_in_pool' "
Luo Xionghu
Best Regards
-Original Message-
From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Pan,
there are some global immediates in global var list of LLVM.
these imm can be integrated in instructions. for
compiler_global_immediate_optimized test
in utest, there are two global immediates:
L0:
MOV(1) %42<0>:UD : 0x0:UD
src modifier is not supported by some instructions.
so return false when it exists. This fix piglit %
failed
Signed-off-by: rander.wang
---
.../src/backend/gen_insn_selection_optimize.cpp| 32 ++
1 file changed, 32
> -Original Message-
> From: Wang, Rander
> Sent: Tuesday, June 13, 2017 1:24 PM
> To: Song, Ruiling ; beig...@freedesktop.org
> Subject: RE: [Beignet] [PATCH V2] backend: add global immediate optimization
>
>
>
> -Original Message-
> From: Song,
Ok, I will refine my patch according to discussing
Thank you!
-Original Message-
From: Song, Ruiling
Sent: Tuesday, June 13, 2017 3:21 PM
To: Wang, Rander ; beig...@freedesktop.org
Subject: RE: [Beignet] [PATCH V2] backend: add global immediate optimization
>
From: Yan Wang
1. Support wrrting data by mapping/unmapping mode.
2. Add mapping record logic.
3. Add clFinish to guarantee the kernel copying is finished.
4. Fix the error of calling clEnqueueMapImageByKernel.
blocking_map and map_flags need be switched.
From: Yan Wang
1. Only copy the data by origin and region defined.
2. Add clFinish to guarantee the kernel copying is finished when blocking
writing.
Signed-off-by: Yan Wang
---
src/cl_api_mem.c | 25 ++---
1 file
26 matches
Mail list logo