bools in CUDA backend broken.
|
|
Bugzilla Link |
1176 |
Created on |
Feb 26, 2016 14:32 |
Resolution |
FIXED |
Resolved on |
Mar 09, 2016 18:14 |
Version |
svn |
OS |
All |
Architecture |
PC |
Extended Description
When compiling the following code
int main()
{
relprimes = with {
([1] <= [m] <[10000]): true;
} : genarray( [10000], false);
return _toi_S_( _sel_VxA_([0], relprimes));
}
with 1.2.beta-BlackForest-127-2cde and the following flags: sac2c -tcuda -check g
I obtain the following runtime error:
*** SAC runtime error
*** GPU Error: an illegal memory access was encountered