Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

VTune integration #814

Open
1e-to wants to merge 4 commits into IntelPython:master
base: master
Choose a base branch
Loading
from 1e-to:vtune_i
Open

VTune integration #814

1e-to wants to merge 4 commits into IntelPython:master from 1e-to:vtune_i

Conversation

@1e-to
Copy link
Contributor

@1e-to 1e-to commented Apr 21, 2020

No description provided.

Copy link
Contributor

Native part is not included?

ll.add_symbol('__itt_task_begin_new', itt.__itt_task_begin)
ll.add_symbol('__itt_task_end_new', itt.__itt_task_end)

def vtune_profiling_boxing(name_handle):
Copy link
Collaborator

@AlexanderKalistratov AlexanderKalistratov Apr 21, 2020

Choose a reason for hiding this comment

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

Why do we need this?

@@ -0,0 +1,40 @@
import ctypes
Copy link
Collaborator

@AlexanderKalistratov AlexanderKalistratov Apr 21, 2020

Choose a reason for hiding this comment

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

Let's rename file somehow. Probably, simlpy vtune.py

handle = vt.ctypes_string_handle_create(b"Head0円")

functype_task_begin = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p)
ctypes_task_begin = functype_task_begin(itt.__itt_task_begin)
Copy link
Collaborator

@AlexanderKalistratov AlexanderKalistratov Apr 21, 2020

Choose a reason for hiding this comment

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

I believe it should be done in vtune.py, not here. And here just import these functions

Copy link

pep8speaks commented Apr 22, 2020
edited
Loading

Hello @1e-to! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020年04月22日 16:23:37 UTC

etotmeni added 2 commits April 22, 2020 19:16


@sdc_overload_method(SeriesType, 'head')
@vtune_profiling_overload(name_handle="Series_head")
Copy link
Collaborator

@AlexanderKalistratov AlexanderKalistratov Apr 22, 2020

Choose a reason for hiding this comment

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

It should be part of sdc_overload_method decorator. We can extract type name and method name from where.

Copy link
Collaborator

@AlexanderKalistratov AlexanderKalistratov Apr 22, 2020

Choose a reason for hiding this comment

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

You actually could call this decorator inside sdc_overload_method

Copy link
Collaborator

Great progress actually!

@kozlov-alexey kozlov-alexey added this to the gold milestone Feb 24, 2021
Copy link
Contributor

@PokhodenkoSA PokhodenkoSA left a comment

Choose a reason for hiding this comment

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

Very old PR. It is better to close it.

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

Reviewers

2 more reviewers

@PokhodenkoSA PokhodenkoSA PokhodenkoSA left review comments

@AlexanderKalistratov AlexanderKalistratov AlexanderKalistratov left review comments

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

gold

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /