Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 394
    • Issues 394
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1268
Closed
Open
Created May 04, 2013 by Robert Bernecky@rbeDeveloper

-bscp does not like multi-generator WLs

Bugzilla Link 1078
Created on May 04, 2013 22:49
Version svn
OS Linux
Architecture PC
Attachments ArrayTransform.xsac

Extended Description

Created an attachment (id=976)
source code to reproduce fault
I tried adding a last-axis catenate to ArrayTransform.xsac, like this:
z = with {
        (0 *_shape_A_(x) <= iv < _shape_A_( x)) : x[ iv]; 
        ,
        ( offset <= iv < shpz) : y[ iv - offset];
      } : genarray(shpz, -666);
However, -bscp sticks a comma after each partition, which sac2c does not like.
This is what comes out of the -bscp sausage-maker:
 z = with {
        (*( 0, _shape_A_( x)) <= iv < _shape_A_( x))
        {
        } : sel( iv, x) ; ,
        (offset <= iv < shpz)
        {
        } : sel( -( iv, offset), y) ;
         } :
      genarray( shpz, zero( x));
sac2c does not like the comma.
I suppose I can break up the WL into a genarray/modarray pair...
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking