- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,everyone
when i compile the cl file on Intel Many Integrated Core and linux system,i gets the below errors
Stack dump:
0. Running pass 'Function Pass Manager' on module 'Program'.
1. Running pass 'Y86 DAG->DAG Instruction Selection' on function '@test_kernel'
Segmentation fault (core dumped)
who can get me some suggestions? Thank you!
here is my code of OpenCL kernel
__kernel void test_kernel(__global Byte64 *dicPwd) { unsigned int tid = get_global_id(0),tidloop=0; unsigned int g_TotalThread = get_global_size(0); int pwdlen=0; Byte64 data=dicPwd[tid]; unsigned char *pUniPwd = data.c; pwdlen=data.c[63]; unsigned char keyCopy[8]; for (unsigned int i = 0; i < 8; i++) keyCopy = i; for (unsigned int i = 0; i < pwdlen; i++) { unsigned char tmp0 =keyCopy[i % 7]; unsigned char tmp1 = tmp0 ^pUniPwd; unsigned char tmp2 = (unsigned char)(tmp1 >> 1); unsigned char tmp3 =(unsigned char) (tmp1 << 7); keyCopy[i % 7] = (unsigned char)(tmp2 + tmp3); } }
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Roysky,
Would you like to share your source code on the host so I can reproduce the problem? Thank you.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page