Skip to content

Conversation

@ezyang
Copy link
Contributor

@ezyang ezyang commented Jul 31, 2018

…add CoreAPI

Signed-off-by: Edward Z. Yang [email protected]

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

ezyang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Signed-off-by: Edward Z. Yang <[email protected]>
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

ezyang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@ezyang
Copy link
Contributor Author

ezyang commented Jul 31, 2018

@pytorchbot retest this please

2 similar comments
@ezyang
Copy link
Contributor Author

ezyang commented Jul 31, 2018

@pytorchbot retest this please

@ezyang
Copy link
Contributor Author

ezyang commented Jul 31, 2018

@pytorchbot retest this please

ezyang added 2 commits July 31, 2018 21:29
Signed-off-by: Edward Z. Yang <[email protected]>
Signed-off-by: Edward Z. Yang <[email protected]>
Copy link
Contributor

@smessmer smessmer left a comment

Choose a reason for hiding this comment

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

Looks good. Btw, phabricator is showing some linter errors. Can you run 'arc lint' and fix them?

, what_(str(err, " (", source_location, ")\n", get_backtrace(/*frames_to_skip=*/2)))
{}

static Warning::handler_t global_warning_handler = &Warning::print_warning;

This comment was marked as off-topic.

This comment was marked as off-topic.

# but the user doesn't have to worry about it; (2) requires the user
# to set the macro themselves... but only if they don't use cmake.
#
# So, which is appropriate in our situation? One thing I do want

This comment was marked as off-topic.

@ezyang
Copy link
Contributor Author

ezyang commented Aug 1, 2018

I'll handle nits in a follow up PR.

zdevito pushed a commit to zdevito/ATen that referenced this pull request Aug 1, 2018
…add CoreAPI (#10092)

Summary:
This also makes Backtrace more portable, by disabling its functionality for
mobile builds as well.

It also handles Caffe2 static Windows builds by introducing a new variable,
AT_CORE_STATIC_WINDOWS, which must be set if you're building
ATen on Windows as part of a static library.

Signed-off-by: Edward Z. Yang <[email protected]>
Pull Request resolved: pytorch/pytorch#10092

Reviewed By: gchanan, smessmer

Differential Revision: D9094393

Pulled By: ezyang

fbshipit-source-id: 93281f9302bd378605a26589ae308faf1dac7df4
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
…add CoreAPI (pytorch#10092)

Summary:
This also makes Backtrace more portable, by disabling its functionality for
mobile builds as well.

It also handles Caffe2 static Windows builds by introducing a new variable,
AT_CORE_STATIC_WINDOWS, which must be set if you're building
ATen on Windows as part of a static library.

Signed-off-by: Edward Z. Yang <[email protected]>
Pull Request resolved: pytorch#10092

Reviewed By: gchanan, smessmer

Differential Revision: D9094393

Pulled By: ezyang

fbshipit-source-id: 93281f9302bd378605a26589ae308faf1dac7df4
@ezyang ezyang added the merged label Jun 26, 2019
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.

4 participants