![]() Struct _attribute_ ((packed)) ToolPoint p1 #define GBUFFERTEST if ((InputData->Moved=0)&GBuffer.ExLen>=1.0f&(InputData->ShowToolCurG>=InputData->NumIstructions)) return #define TTPROGRAMDATA _global struct TProgramData #define TTPROGRAMDATA _constant struct TProgramData ![]() #define TToolDef _constant struct ToolDef #define TVOXELSPTR _global struct TVoxel * I can also give you the entire project but I can not make it publicly available. I will submit part of the code where I get the problem. The code work fine with a cycle of about 100 elements and driver 13. ![]() I am trying to make a test restructuring the code removing another one external loop. One characteristic of the code is the presence of nested loops and to compile the code in the past I removed the last external loop otherwise amd compiler crash and also nvidia compiler was not able to build the code. I don't know which is the best way to proceed. The codexl is not able to compile the program ( the compilation phase never end ). I tried with a simple examples but with simple code everything work fine. I can not compile without optimization because the compiler crash. I am not accessing out-of-memory but the driver crash. I run hundreds of test, what I get is the test fails when I have the most external cycle with more than about 1000 elements. I Hope this can help to discover where the problem is. To compile the project you need boost 1.55 and glm 0.9.4.6. Into the folder bin there is a precompiled version with all the files required by the sample. The sample is build using Visual Studio 2010. In attach there is an example of crashing driver program. The function Testparseg1 work and the only difference from the second one is an external call before the for cycle.īoth the function works when ProgramData->NumIstructions < 2000, when the for have less than about 2000 cycles. Voxels.ListPtr=Testparseg1(ProgramData,InputData->ExtSPrec,vp) Int i,ni=ProgramData->NumIstructions //,imin įloat MaxDistVoxel=ProgramData->VoxelData.VoxelRadius*2.0f įloat vraddia=ProgramData->VoxelData.VoxelRadius įloat3 vp=GetVoxelPnt(ProgramData,iVoxel) Int Testparseg1(TTPROGRAMDATA *ProgramData,float sprec,vec3 pos) I am trying to figure out why my opencl program crash and it seem very strange I made these test
0 Comments
Leave a Reply. |