Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Commit

Permalink
Move BaseGenerator logic to core (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeshengzong authored Jul 16, 2024
1 parent 934e6e5 commit c1b2f0a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
7 changes: 2 additions & 5 deletions csrc/npu/NPUGeneratorImpl.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
#include "NPUGeneratorImpl.h"
#include <ATen/Utils.h>
#include <ATen/core/GeneratorForPrivateuseone.h>
#include <c10/core/StreamGuard.h>

#include "csrc/npu/NPUFunctions.h"

#include "BaseGeneratorImpl.h"
#include "NPUGeneratorImpl.h"
#include "csrc/aten/generated/NPUNativeFunctions.h"
#include "csrc/npu/NPUFunctions.h"

namespace at_npu {
namespace detail {
Expand Down
2 changes: 1 addition & 1 deletion csrc/npu/NPUGeneratorImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <ATen/core/Generator.h>
#include <c10/core/GeneratorImpl.h>
#include <limits>
#include "BaseGeneratorImpl.h"
#include "csrc/core/BaseGeneratorImpl.h"
#include "npu/core/NPUMacros.h"

namespace at_npu {
Expand Down

0 comments on commit c1b2f0a

Please sign in to comment.