search for: temp_src

Displaying 2 results from an estimated 2 matches for "temp_src".

Did you mean: temp_c
2014 Aug 20
2
[LLVMdev] LLVM CreateStructGEP type assert error
...FER_LEN]; float zz[BUFFER_LEN]; } RBr_t; #define IN_RANGE(x, min, max) ((x)>=(min) && (x)<=(max)) __kernel void hotspot( int iteration, //number of iteration global float *power, //power input global float *temp_src, //temperature input/output global float *temp_dst, //temperature input/output int grid_cols, //Col of grid int grid_rows, //Row of grid int border_cols, // border offset int b...
2014 Aug 20
2
[LLVMdev] LLVM CreateStructGEP type assert error
If I do M.dump(), at the top of the output I have: %struct.RB = type opaque Further down I have: @.str18 = internal addrspace(2) constant [13 x i8] c"RB_t*\00" However nowhere does it dump the full struct type when I call "M.dump()". I have it explicitly defined above the kernel in the kernel file, but LLVM doesn't seem to pick it up. Opaque is a placeholder until it