Displaying 20 results from an estimated 204 matches for "stencil".
2017 Jul 01
2
Jacobi 5 Point Stencil Code not Vectorizing
Hello,
I am trying to vectorize following stencil code;
#include <stdio.h>
#define N 100351
// This function computes 2D-5 point Jacobi stencil
void stencil(int a[restrict][N])
{
int i, j, k;
for (k = 0; k < 100; k++)
{ for (i = 1; i <= N-2; i++)
{ for (j = 1; j <= N-2; j++)
{ a[i][j] = 0.25 * (a[i][j...
2017 Jul 01
2
Jacobi 5 Point Stencil Code not Vectorizing
I am able to vectorize it with the following code;
#include <stdio.h>
#define N 100351
// This function computes 2D-5 point Jacobi stencil
void stencil(int a[][N], int b[][N])
{
int i, j, k;
for (k = 0; k < N; k++) {
for (i = 1; i <= N-2; i++)
for (j = 1; j <= N-2; j++)
b[i][j] = 0.25 * (a[i][j] + a[i-1][j] + a[i+1][j] + a[i][j-1] +
a[i][j+1]);
for (i = 1; i <= N-2; i++)
for (j = 1; j <=...
2017 Jul 01
3
Jacobi 5 Point Stencil Code not Vectorizing
...tion
to vectorize such codes?
please reply. i m waiting.
On Jul 1, 2017 12:30 PM, "hameeza ahmed" <hahmed2305 at gmail.com> wrote:
> I even tried polly but still my llvm IR does not contain vector
> instructions. i used the following command;
>
> clang -S -emit-llvm stencil.c -march=knl -O3 -mllvm -polly -mllvm
> -polly-vectorizer=stripmine -o stencil_poly.ll
>
> Please specify what is wrong with my code?
>
>
> On Sat, Jul 1, 2017 at 4:08 PM, hameeza ahmed <hahmed2305 at gmail.com>
> wrote:
>
>> Hello,
>>
>> I am trying...
2017 Oct 24
3
Jacobi 5 Point Stencil Code not Vectorizing
Your problem is due to GVN partial reduction elimination (PRE) which
introduces a PHI node the current loop vectorizer cannot handle:
opt -O3 stencil.ll -pass-remarks=loop-vectorize
-pass-remarks-missed=loop-vectorize
-pass-remarks-analysis=loop-vectorize
remark: <unknown>:0:0: loop not vectorized: value that could not be
identified as reduction is used outside the loop
remark: <unknown>:0:0: loop not vectorized
The message is not e...
2017 Oct 23
3
Jacobi 5 Point Stencil Code not Vectorizing
<div> </div><div> </div><div>Hello,</div><div> </div><div>To me this is an issue in llvm loop vectorizer (if N is large enough to prevent complete unrolling of j-loop).</div><div> </div><div>Woud you mind to share stencil.ll than I would say more definitely what the issue is.</div><div> </div><div>Regards,</div><div>Serge.</div><div> </div><div> </div><div>22.10.2017, 03:21, "hameeza ahmed" <hahmed2305@gmail.com>:</div><...
2017 Aug 05
2
LLVM Vectorisation Bug
I have matrix multiplication and stencil code. I vectorise it through the
following command.
opt -S -O3 -force-vector-width=2048 stencil.ll -o stencil_o3.ll
in both the examples of matrix mult and stencil it vectorises fine when my
loop iterations >2048. but if i keep both iterations and vector width=2048.
it produces scalar code IR...
2005 Jul 14
0
Asterisk (or generic telecom) Stencil's for Visio 2003
Hello Everyone!
In planning for my new asterisk environment, I would like to have some
nice presentation graphics for "breaking down" the system to management
here where I work.
I like to use Visio for these kinds of things, and was wondering if anyone had
a good source for Visio stencils that fit into a telecom plan. There was a set from
Cisco, and it'll probably be 'good enough' for what I need, but I thought I would
ask the community.
Thanks everyone!
- Don
2016 Oct 12
4
[test-suite] making polybench/symm succeed with "-Ofast" and "-ffp-contract=on"
...hich can legitimately cause differences.
>
The following tests pass at "-O3" and "-O3 -ffp-contract=on" compared
with FP_ABSTOLERANCE=1e-5 against "-O0 -ffp-contract=off":
polybench/linear-algebra/kernels/symm
polybench/linear-algebra/solvers/gramschmidt
polybench/stencils/seidel-2d
The output of these 3 tests from "-O0 -ffp-contract=off" also matches
the reference output.
The following 2 tests still require increased FP_ABSTOLERANCE to pass
compare between "-O3", "-O3 -ffp-contract=on" vs. "-O0 -ffp-contract=off"
polybench...
2010 Dec 06
1
Backbuffer problem troubles SimCity4 RH/Deluxe
..._MixerInit No master control found on USB Device 0x46d:0x8ad, disabling mixer
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x21bab8,0x21bee0): stub
fixme:d3d_surface:IWineD3DSurfaceImpl_BltZ (0x229ebb8): Unsupp depthstencil blit
fixme:d3d_surface:surface_load_location Unimplemented location SFLAG_INSYSMEM for depth/stencil buffers.
fixme:d3d_surface:surface_load_location Unimplemented location SFLAG_INSYSMEM for depth/stencil buffers.
fixme:d3d_surface:IWineD3DBaseSurfaceImpl_Blt Can't handle WINEDDBLT_ASYNC flag...
2011 Sep 08
2
Zanzarah game
...4R4A4_UNORM to floating point.
err:d3d_surface:surface_convert_color_to_float Unhandled conversion from WINED3DFMT_B5G5R5A1_UNORM to floating point.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d_surface:surface_load_location Unimplemented location SFLAG_INSYSMEM for depth/stencil buffers.
err:d3d_surface:surface_modify_location Surface 0x219d78 does not have any up to date location.
err:d3d:wined3d_device_uninit_3d Something is still holding a reference to depth/stencil buffer 0x219d78.
fixme:d3d:wined3d_device_decref Device released with resources still bound, acceptab...
2007 Mar 13
1
[BUG] blurred decoration for gwd causes drawing artifacts
Greetings everybody!
For anybody working on blur-related things, take a look at this glitch
I encountered:
https://bugs.freedesktop.org/show_bug.cgi?id=10275
Best regards...
Mirco "MacSlow" M?ller
--
email - macslow@bangang.de
www - http://macslow.thepimp.net
lowfat - http://macslow.thepimp.net/sponsor-it
2012 Apr 15
7
[Bug 48742] New: fbotexture -arb misrenders on nv43
https://bugs.freedesktop.org/show_bug.cgi?id=48742
Bug #: 48742
Summary: fbotexture -arb misrenders on nv43
Classification: Unclassified
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
2009 Apr 10
0
[PATCH/Gallium] nv50_clear again (might work better)
...)
---------
diff --git a/src/gallium/drivers/nv50/nv50_clear.c b/src/gallium/drivers/nv50/nv50_clear.c
index eca65a8..d0785fc 100644
--- a/src/gallium/drivers/nv50/nv50_clear.c
+++ b/src/gallium/drivers/nv50/nv50_clear.c
@@ -26,6 +26,13 @@
#include "nv50_context.h"
+/* If clearing the stencil buffer is not requested, NVIDIA clears both
+ anyway as long as stencil testing is off. */
+#define NV50TCL_CLEAR_DEPTH_BITS 0x01
+#define NV50TCL_CLEAR_STENCIL_BITS 0x02
+#define NV50TCL_CLEAR_DEPTH_STENCIL_BITS 0x03
+#define NV50TCL_CLEAR_COLOR_BITS(i) (0x3c + (0x40 * (i)))
+
void
nv50_clear(...
2010 Nov 12
1
Need help interpreting event log
..._MixerInit No master control found on USB Device 0x46d:0x8ad, disabling mixer
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x21aa58,0x21ae80): stub
fixme:d3d_surface:IWineD3DSurfaceImpl_BltZ (0x1d97bb8): Unsupp depthstencil blit
fixme:d3d_surface:surface_load_location Unimplemented location SFLAG_INSYSMEM for depth/stencil buffers.
fixme:d3d_surface:IWineD3DBaseSurfaceImpl_Blt Can't handle WINEDDBLT_ASYNC flag right now.
fixme:d3d_surface:IWineD3DSurfaceImpl_BltZ (0x1d12a0): Unsupp depthstencil blit
fixme:d3d_surf...
2010 Nov 10
2
SimCity4 wants to do a VGA display, but wine gives me an HD
..._MixerInit No master control found on USB Device 0x46d:0x8ad, disabling mixer
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x21b040,0x21b468): stub
fixme:d3d_surface:IWineD3DSurfaceImpl_BltZ (0x1d97dc0): Unsupp depthstencil blit
fixme:d3d_surface:surface_load_location Unimplemented location SFLAG_INSYSMEM for depth/stencil buffers.
fixme:d3d_surface:IWineD3DBaseSurfaceImpl_Blt Can't handle WINEDDBLT_ASYNC flag right now.
fixme:d3d_surface:IWineD3DSurfaceImpl_BltZ (0x1d1888): Unsupp depthstencil blit
fixme:d3d_surf...
2011 Sep 14
2
Hard Reset Demo doesn't render textures
...DCMP_NOTEQUAL and D3DCMP_EQUAL do not work correctly yet.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:StencilOp Unrecognized stencil op 0
fixme:d3d:StencilOp Unrecognized stencil op 0
fixme:d3d:StencilOp Unrecognized stencil op 0
those last ones are spaming console much furthermore.
I think that it indicates shortcomings of Wine but I do not know what.
You can download demo from Steam or GamersHell:...
2011 Jun 21
0
Attempting to boot Unity3D
...set_pixel_format Failed to set pixel format 15 on device context 0xc8c, last error 0.
err:d3d:context_create Failed to set pixel format 15 on device context 0xc8c.
fixme:d3d:wined3d_get_format Can't find format WINED3DFMT_R24_UNORM_X8_TYPELESS (0x49) in the format lookup table
fixme:d3d:getDepthStencilBits Unsupported depth/stencil format WINED3DFMT_UNKNOWN.
err:wgl:internal_SetPixelFormat Couldn't set format of the window, returning failure
err:d3d:context_set_pixel_format Failed to set pixel format 11 on device context 0xc9c, last error 0.
err:d3d:context_create Failed to set pixel format 1...
2018 Nov 23
0
Wine release 3.21
...asynchronous hostname resolution.
Henri Verbeet (40):
d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in texture_init().
d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in cubetexture_init().
d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in d3d8_device_CreateDepthStencilSurface().
d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in d3d8_device_CreateImageSurface().
d3d8: Do not add map access indiscriminately in texture_init().
d3d8: Do not add map access indiscriminately in cubetexture_init().
d3d8: Do not add map access indiscriminatel...
2009 Aug 01
3
Low fps or no login on Shaiya
...in the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 909201952 (as fourcc: R16) WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909201952) in the format lookup table
fixme:d3d_surface:surface_load_ds_location (0x170d08) Not supported with fixed up depth stencil
fixme:d3d_surface:surface_load_ds_location (0x170d08) Not supported with fixed up depth stencil
fixme:d3d_surface:surface_load_ds_location (0x170d08) Not supported with fixed up depth stencil
fixme:d3d_surface:surface_load_ds_location (0x170d08) Not supported with fixed up depth stencil
fixme:d3d_s...
2016 Dec 09
0
Wine release 2.0-rc1
...GetIpAddrTable causing some licensed programs to fail due to invalid MAC address
40359 Galactic Civilization III fails to start
40804 Touhou 6, 7, 8, 10, 11 have severe fps drop.
41055 "Texture ... does not have a drawable" on i915 with D3D8
41059 Necropolis requires OMSetDepthStencilState Two-sided stencil testing when using DirectX 11
41402 DDBST unusable due to "fixme:systray:wine_notify_icon unhandled tray message: 4"
41454 Outlast 2 Demo requires R32G32_UINT and R32_UINT formats
41493 Sniper Elite V2 stuck at "Completing Installation 1%"
41508...