search for: temp_on_cuda

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

2014 Aug 20
2
[LLVMdev] LLVM CreateStructGEP type assert error
...float Cap, //Capacitance float Rx, float Ry, float Rz, float step, //dlowell's argument global RB_t *cB) { local float temp_on_cuda[BLOCK_SIZE][BLOCK_SIZE]; local float power_on_cuda[BLOCK_SIZE][BLOCK_SIZE]; local float temp_t[BLOCK_SIZE][BLOCK_SIZE]; // saving temporary temperature result float amb_temp = 80.0f; float step_div_Cap; float Rx_1,Ry_1,Rz_1; int bx = get_group_id(0); int by = get_group_id(1); int tx = ge...
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