Skip to content

Conversation

@AdvancedCompiler
Copy link
Contributor

PR Category

Operator

Type of Change

Performance Optimization

Description

Optimize randn&randn_like

Issue

Progress

  • Change is properly reviewed (1 reviewer required, 2 recommended).
  • Change is responded to an issue.
  • Change is fully covered by a UT.

Performance

b018f54f0eb1fd2c5ac6b85fd48f32af 9618c9b7d7d158e2e5f6dbc33e496705

return r * tl.cos(th), r * tl.sin(th)

@triton.jit
def fast_cos_ptx(x):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that it cannot be executed on non-Nvidia devices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants